Manual port of "Added RetryCount property and logging of the number of pages crawled." from v1.2.3