How can I set a maximum quantity of registrations?