Determining gas quantity, corrected for pressure, temperature and composition rather than volume alone.