code: def nodes_count(self):
      return len(self._nodes)
  
file_path: redis-py/redis/commands/graph/path.py
imports: from .edge import Edge
  from .node import Node
label_desc: Use image node_id 10 for calling the Path obj's underlying member method code with example usage: obj.nodes_count() and returns: len