code: def wrap_count(method):
      
      number = 0
      while hasattr(method, '__aspects_orig'):
          number += 1
          method = method.__aspects_orig
      return number
docs: Returns number of wraps around given method.