Hey there!
[He]2s²2p⁴ is the electron configuration for O (oxygen).
He is the noble has before oxygen. It has 2 electrons.
The s orbital is filled, and there are 4 electrons in the p orbital, so 6 elements over to the right.
This makes a total of 8 electrons.
Hope this helps!