Question: how many valence electrons does oxygen have why?
Answer: Oxygen has six electrons in its outer shell, so it has 6 valence electrons. However, the valence of oxygen is 2 because it only has to make 2 covalent bonds, or gain 2 electrons, to achieve stable octet configuration of a noble gas.