What is the number of protons plus the number of neutrons in the nucleus of an atom equivalent to?

A: average atomic mass
B: mass number
C: number of electrons
D: atomic number