instruction: how many patients were there who were aged less than 83 years and with a calculated total co2 lab test done?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "83" AND lab.label = "Calculated Total CO2"