Display on the page the number of times the algorithm has looped so far