<｜begin▁of▁sentence｜>### Instruction:
If you have a network data file in the .ncol format called 'network_data.ncol', which describes a network where nodes are lines and edges are defined by the lines' shared occurrences, how could you read this file into an igraph object and print out its summary (including the count of vertices and edges)?
### Response:
import igraph as ig

# Read the .ncol file and create a graph
g = ig.Graph.Read_Ncol('network_data.ncol')

# Print the summary of the graph to check the number of vertices and edges
print(g.summary())
<|EOT|>
