def len_on_depth(d, depth):
        """Get the number of nodes on specific depth.
        """
        counter = 0
        for node in DictTree.v_depth(d, depth-1):
            counter += DictTree.length(node)
        return counter