How many valence electrons would an element in group 17 on the periodic table have?

A: 7
B: 1
C: 17
D: this information cannot be found from the information provided

A: 7