Question: how many atoms are there in a gram?
Answer: U mentioned element here so one gram atom of an element has 6.022×10^23 atoms :-) in oxygen(molar mass=16g/mol) 1g=1/16mol so it's 1/16 of the avogadro number.