Which factor determines the atomic number of an atom?

A) the number of protons plus the number of neutrons in every atom.

B) the number of neutrons in two atoms of an element.

C) the number of electrons in the outer layer of any atom.

D) the number of protons in each atom of that element.