Task: Text to Code
Input (English): SQL: SELECT Count ( DISTINCT department_name ) FROM Departments
Feedback: I want the departments having department id in degree programs table. 
Output (English): SELECT count(DISTINCT department_id) FROM Degree_Programs