showing number of records and pages