Question: how many moles does oxygen have?
Answer: A mole of oxygen molecules contains 2 moles of oxygen atoms. For elements that exist as molecules, it is best to explicitly state whether molecules or atoms are meant. Thus "1 mole of oxygen molecules" means 6.022 x 1023 O2 molecules, or 2 x 6.022 x 1023 O atoms; "1 mole of oxygen atoms" means 6.022 x 1023 O atoms.