Mass is a measurement of: