Amount of substance, compounds, formulae and equations