Keep track of recursion depth when guessing/backtracking