Calculating Number of Atoms or Mass