instruction: provide the number of patients whose primary disease is ruq pain and year of birth is less than 2112?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "RUQ PAIN" AND demographic.dob_year < "2112"