Count the number of courses with more than 2 credits.
select count(*) from course where credits > 2