Added a select statement for when channels end to make runs more stable
Added a statement to print the number of crawled pages