Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM takes WHERE year = 2010
Feedback: Use teaches table in place of takes classes table , Ensure semester equals Spring .
Output (English): SELECT COUNT (DISTINCT ID) FROM teaches WHERE semester  =  'Spring' AND YEAR  =  2010