This can be easily done using ChemCollective virtual lab interface.
For example, For NaCl, Molar mass is 58.44 g/mole.
Weigh 58.44 gms of NaCl in a beaker/Erlenmeyer flask. Click on the flask, in the Solution Info panel select Solid radio button. Under Species NaCl is displayed and select moles as option using the drop-down button. You will see 1.000.
The software shows the number of moles up-to 3 decimal places.