instruction: provide the number of patients whose year of birth is less than 2090 and lab test name is vitamin b12?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2090" AND lab.label = "Vitamin B12"