instruction: how many patients whose marital status is married and year of birth is less than 2052?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.dob_year < "2052"