<｜begin▁of▁sentence｜>### Instruction:
As an igraph manager, I often need to provide financial advice and services to clients. One of my tasks involves counting the total number of vertices in the graphs that contain information about clients' financial transactions and activities. How can I achieve this using the igraph API?
### Response:
import igraph as ig

# Create a graph with 5 vertices
g = ig.Graph(5)

# Using the vcount method to get the number of vertices
num_vertices = g.vcount()
print(f'Number of vertices in the graph: {num_vertices}')
<|EOT|>
