Add number of pages functionality and send email if 0 pages indexed