OFFERING 99 POINTS AND BRAINLIEST TO BEST ANSWER!!!

How many valence electrons are in an atom with the electron configuration in example A? Example A: 1s^2 2s^2 2p^6 3s^2 3p^6 4s^2 4p^2

A. 22
B. 2
C. 4
D. 6