The atomic number of an element corresponds to the number of protons in the nucleus of an atom. In this case, you mentioned that the element has 9 protons. Therefore, the atomic number of this element is 9. The number of electrons (10) does not directly affect the atomic number since it represents the balance between protons and electrons in a neutral atom.