A cardinality of a graph

Generally, for a given graph $\,G=(V,E),\;$ the standard meaning of $|G|$ is simply $$|G| = |V|$$


Usually

|V| = number of vertices or graph order.

|E| = number of edges or graph size.

Some like to use |G| to mean the graph order though.