Keep track of how many times we loop