What happens to the number of valence electrons within a family (Group 1 or 17) as atomic number increases? How does this affect the properties of the elements within the family?