The atomic number of an element is equal to: