Mass and Atom Count Calculation