Certainly all those factors will affect the rate at which calories are used. However, measuring this is relatively simple. Since the number of calories produced over a reasonable length of time is proportional to the oxygen used or carbon dioxide produced, then using a tight fitting mouth/nose mask will allow these numbers to be obtained if it is attached to the appropriate sensors