<｜begin▁of▁sentence｜>### Instruction:
As a music teacher, I often need to analyze and visualize the music collaborations between different artists to better understand their networks. Using the networkX library in Python, I can read the collaboration data stored in a GraphML file named 'music_collaborations.graphml'. I need to obtain basic information such as the number of artists (vertices) and the number of collaborations (edges) in this musical network. How can I achieve this using the networkX library?
### Response:
import igraph as ig

# Load a graph from a GraphML file
g = ig.Graph.Read_GraphML('network.graphml')

# Print basic information about the graph
print('Number of vertices:', g.vcount())
print('Number of edges:', g.ecount())
<|EOT|>
