The atomic number of an element corresponds to the number of protons in the nucleus of its atoms. In this case, Element X has an atomic number of 6. Therefore, it has 6 protons.