code: def length_at(self, depth):
          
          if depth == 0:
              return 1
  
          counter = 0
          for dict_tree in self.values_at(depth - 1):
              counter += len(dict_tree)
          return counter
docs: Get the number of nodes on specific depth.