How To Determine Valence Electrons