add page counter