What does the group number mean on the periodic table of elements?

The group number in the periodic table represents number of valence electrons of the elements in a certain group. For example, all the elements in $G r o u p - 1$ have 1 electron in their outer most shell.