Question: how many electrons in outer shell of oxygen?
Answer: By bonding with two hydrogen atoms, oxygen has its 6 outer shell electrons + 2 shared electrons from the hydrogen making 8 (and a filled shell makes a happy atom. Each of the hydrogen atoms has their 1 electron + 1 shared electron to fill their shell with 2 electrons.