number of protons + number of neutrons (electrons are so light that we don’t count them)

The number of protons plus the number of neutrons in an atom gives the mass number of the atom. The mass number represents the total number of protons and neutrons in the nucleus of an atom.