The mole is the unit of measurement in the International System of Units (SI) for amount of substance. It is defined as the amount of a chemical substance that contains as many representative particles, e.g., atoms, molecules, ions, electrons, or photons, as there are atoms in 12 grams of carbon-12 (12C), the isotope of carbon with relative atomic mass 12 by definition.
so to solve the moles, divide the mass with molar mass
moles = 4177 g / 133.34 g/mol
moles = 31.33 moles