###HUMAN: what is the number of patients with discharge location as snf diagnosed with primary disease hyperglycemia?, ###ASSISTANT: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.diagnosis = "HYPERGLYCEMIA"