change this method to limitResultsOnPage() and as the parameter pass the limit that you are intrested in. Then count number of elements that are on page and compare the value you pass with the actual value