Question: how many courses have prerequisite?
SQL: SELECT count ( * )  FROM course WHERE course_id IN  ( SELECT course_id FROM prereq )