Task: Text to Code
Input (English): Step 1: For each row in teacher table, find the corresponding rows in course_arrange table.
Step 2: find each value of course_arrange's Teacher_ID in the results of step 1 along with the number of the corresponding rows to each value
Output (English): SELECT T1.Name , Count ( * ) FROM teacher AS T1 JOIN course_arrange AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Teacher_ID