recursion count steps