The mass number of a nucleus is