instruction: count the number of patients whose age is less than 83 and days of hospital stay is greater than 6?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "83" AND demographic.days_stay > "6"