def last_on_page(self, page_number):
        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
Returns the 1-based index of the last object on the given page,
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/core/paginator.py/ObjectPaginator.last_on_page