The number of protons in the nucleus of an atom.