Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Campuses WHERE County = "San Jose State University"
Feedback: Use discipline enrollments undergraduate instead of campuses table and campus instead of county .
Output (English): SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus  =  t2.id WHERE t1.year  =  2004 AND t2.campus  =  "San Jose State University"