How many anti bonding electrons are there in O2 molecule?
The bonding electrons are those electrons located in bonding MO's. They are shown in green in the above diagram.
Now focus on finding the number of anti-bonding electrons, which are located in anti-bonding MO's. They are shown in red in the above diagram.This gives you a total of 6 anti-bonding electrons.