instruction: give me the number of patients born before 2184 who have lab test item id 51250.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2184" AND lab.itemid = "51250"