code: def get_metrics(self):
          
  
          search_file_nodes_count = search_occurence_nodesCount = 0
  
          for node in foundations.walkers.nodes_walker(self.root_node):
              if node.family == "SearchFile":
                  search_file_nodes_count += 1
              elif node.family == "SearchOccurence":
                  search_occurence_nodesCount += 1
  
          return {"SearchFile": search_file_nodes_count, "SearchOccurence": search_occurence_nodesCount}
docs: Returns the Model metrics.
  
          :return: Nodes metrics.
          :rtype: dict