Question: How many of them involve in detention?
SQL: SELECT count ( distinct T2.teacher_id )  FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id  =  T2.teacher_id