<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph which you can read from graph5.gml, can you use the components function in igraph to count the number of strong connected components?
### Response:
from igraph import Graph
import igraph as ig

g = ig.read('graph5.gml')
# Get the strong connected components
components_strong = g.components(mode='strong')

# Print the number of strong connected components
print(len(components_strong))
<|EOT|>
