Add page counter to search page