<｜begin▁of▁sentence｜>### Instruction:
Given a graph stored in a GML file named 'my_graph.gml', can you read the graph using NetworkX to determine the number of nodes and edges it contains?
### Response:
from networkx import read_gml

# Read the graph from a GML file
nx_graph = read_gml('my_graph.gml')

# Print the number of nodes and edges in the graph
print('Nodes:', len(nx_graph.nodes))
print('Edges:', len(nx_graph.edges))
<|EOT|>
