instruction: provide the number of patients whose admission year is less than 2114 and lab test name is quantitative g6pd?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2114" AND lab.label = "Quantitative G6PD"