What amount of substance actually measures
Amount of substance is the SI quantity measured in moles. It tracks how many specified entities are present at a counting scale that is practical for chemistry, rather than how much mass those entities contribute.
That distinction matters because one mole of different substances does not have the same mass. Converting amount of substance is therefore a different task from converting grams, kilograms, or pounds, and it should stay separate from molar-mass calculation.