add Search#page_count method

simple code cleanup