Count the number of departments which offer courses.
select count(distinct dept_name) from course