Task: Text to Code
Input (English): Give the name of each department and the number of employees in each.
Output (English): SELECT T2.department_name ,  COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id  =  T2.department_id GROUP BY T2.department_name