How many electrons are shared in the double bond between the oxygen atoms in O^2 ?

In O₂, there is a double bond between the two oxygen atoms. In a double bond, two pairs of electrons are shared between the atoms. Thus, in the double bond between the oxygen atoms in O₂, four electrons are shared.