<｜begin▁of▁sentence｜>### Instruction:
Given two separate graphs with edges set g1: [(0, 1), (1, 2)] and g2: [(2, 3), (3, 4)], how can you compose these two graphs using igraph, and what are the total vertices and edges in the resulting graph?
### Response:
import igraph as ig

# Create two simple igraph graphs
g1 = ig.Graph(edges=[(0, 1), (1, 2)])
g2 = ig.Graph(edges=[(2, 3), (3, 4)])

# Use igraph's compose method to get the graph composition
g_combined = ig.GraphBase.compose(g1, g2)

# Print the number of vertices and edges in the composed graph
print(f'Vertices: {g_combined.vcount()}; Edges: {g_combined.ecount()}')
<|EOT|>
