The number of electrons is the same as the number of protons in an atom.

Otherwise the atom would become an ion.