The number of
As the atomic number shows the number of proton or electron in an neutral atom.
The atomic number is the number of protons present in an #neutral atom. So to make the atom electrical neutral the number of electrons should also be equal.
Hope you understand. :)