Question: how do we know how many electrons an element has?
Answer: The atomic number is the number of protons in an atom of an element. ... Atoms must have equal numbers of protons and electrons. In our example, an atom of krypton must contain 36 electrons since it contains 36 protons. Electrons are arranged around atoms in a special way.