Task: Text to Code
Input (English): How many different departments offer degrees?
Output (English): SELECT count(DISTINCT department_id) FROM Degree_Programs