This answer represents the total number of protons and neutrons in an oxygen atom but does not relate at all to the number of valence electrons.

This question is really asking...how many electrons are in the outer orbitals? Remember that only outer orbital electrons can be used by an atom and these electrons are the valence electrons.