Count the number of distinct instructors who have taught a course.
select count (distinct id) from teaches