instruction: give me the number of patients whose gender is m and admission year is less than 2139?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.admityear < "2139"