code: public int incrementCount() {
          // get the logging recursion stack depth for the current thread
          int depth = stackDepth.get();
          depth = depth + 1;
          stackDepth.set(depth);
          return depth;
      }
docs: Increments the recursion count for this thread.
  
  @return new counter