Task: Text to Code
Input (English): How many different instructors have taught some course?
Output (English): SELECT COUNT (DISTINCT id) FROM teaches