Whats the number that tells you the number of protons and neutrons?

Number of protons = Atomic number

Number of electrons in a neutral atom = Atomic number

Number of neutrons = Mass number (the mass number is the sum of protons and neutrons in an atom) minus Atomic number (equal to number of protons)