how do you determine how many p electrons are in the valence shell?
To find valence electrons using a period table, first see if your atom is a transitional metal, which are the elements in the middle rectangle of the table. If the atom is outside this block, locate its group number along the top of the table. The ones digit in the group number is the number of valence electrons.