Question: And the amount of courses?
SQL: SELECT count ( DISTINCT t1.course_id )  FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id  =  T2.course_id