Count the number of courses without prerequisites.
SELECT count(*) FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)
number of courses without prerequisites refers to a count of courses that don't appear in the prereq table;