1) how can I find the number of valence shell in the non-transition metals.

2) how can I find the number of valence shell in the transition metals.

HELP ME PLEASE!!!!