Fixing total number of results to an integer