Question: how many electrons would oxygen required to fill up the second shell?
Answer: As you can see, oxygen has 2 of its 8 electrons in the shell closest to the nucleus, and the remaining 6 electrons - which are called valence electrons - in its second shell - this is oxygen's outermost shell. In order to complete its octet, it needs 8 electrons in its outermost shell.