get page counts