The atomic number is defined as the number of protons in the nucleus of an atom. This number uniquely identifies an element. It is not the number of electrons (which can vary in ions), neutrons (which vary in isotopes), or the sum of protons and neutrons (which is the mass number).