def depth(self, pos):
        """more performant implementation due to specific structure of pos"""
        return len(pos) - 1
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/tui/walkers.py/SimpleTreeWalker.depth/original