added num pagehits to grab_page_links method