I have this form which allows students to register for courses. However, each student can only register for 6 courses.
The studentID of each student appears each time the student registers for a course.
(I.e A student registers for 5 courses, then the student has 5 rows of studentID and Course)
How do I count the number of times the studentID input into the form appears in the table?