return the limit as an integer from the user index method.