Task: Text to Code
Input (English): How many different majors are there and how many different city codes are there for each student?
Output (English): SELECT count(DISTINCT major) ,  count(DISTINCT city_code) FROM student