Task: Text to Code
Input (English): SQL: SELECT student_id , Count ( * ) FROM Student_Course_Attendance GROUP BY student_id
Feedback: Replace student course attendance with student course registrations and should be number of corresponding rows of each student course registrations student id .
Output (English): SELECT T1.student_id ,  count(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id