instruction: Count the number of patients whose insurance is medicare and were admitted before the year 2108.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.admityear < "2108"