How do you find mole?

To find the amount of moles in a compound, you divide the mass of the compound by the compound's relative atomic mass. (You can find this on a periodic table)