How can I limit the number of students in a course for the class registration form?