you have a block of ice that weighs 500g. how many CO2 molecules do you have?

None. The block of ice only contains H2O molecules.