Task: Text to Code
Input (English): Find the total number of students in each department.
Output (English): SELECT count(*) ,  dept_name FROM student GROUP BY dept_name