Added my own helper method for calculation the number of registrations