How can I show in my form the number of spaces still available for registration