code: def get_vertices_count(self):
      return sum([c.order() for c in self.components])
  
imports: from typing import List
  from .graphBase import GraphBase
  from graphistry.layout.utils import Poset
  import pandas
label_desc: Use image node_id 5 for calling the Graph obj's underlying member method code with example usage: obj.get_vertices_count() and returns: sum