instruction: what is the number of patients who were hospitalized for more than 20 days and were later discharged home?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME" AND demographic.days_stay > "20"