Moving average of loop count moved to minute intervals to find out how often the loop is executed.