def last_on_page(self, page_number):
        """
        Returns the 1-based index of the last object on the given page,
        relative to total objects found (hits).
        """
        page_number = self.validate_page_number(page_number)
        page_number += 1   # 1-base
        if page_number > self.pages:
            return self.hits
        return page_number * self.num_per_page
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/core/paginator.py/ObjectPaginator.last_on_page/operator `==` -> `>`