instruction: provide the number of patients whose insurance is medicare and year of birth is less than 2182?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicare" AND demographic.dob_year < "2182"