Chlorine has atomic number 17 and is in Group 7A. How many valence electrons does chlorine have?

If it is $\text{Group VII}$ it has 7 valence electrons.
Because chlorine has a high nuclear charge, it tends to be oxidizing, and form $C {l}^{-}$ ions in the process.