Valence electron

The number of valence electrons of an element can be determined by the periodic table group (vertical column) in which the element is categorized. With the exception of groups 3--12 (the transition metals), the units digit of the group number identifies how many valence electrons are associated with a neutral atom of an element listed under that particular column.

Question: the number of valence electrons in an atom of an element is equal to the group number
Answer: yes