Metering of energy used for lighting: A practical indirect method