How many electrons are in p orbitals in an atom of oxygen?

I answered 8 and 6 but it's wrong. Can anyone pls help.

1 answer

8O16.
1s2 2s2 2p4
2 + 2 + 4 = 8. So there are 4 p electrons.