How many distinct students have been in detention?
SELECT count(DISTINCT student_id) FROM Students_in_Detention
SELECT count(DISTINCT student_id) FROM Students_in_Detention
[{'count(DISTINCT student_id)': 9}]