<｜begin▁of▁sentence｜>### Instruction:
As a graphic designer creating visuals for a technology company's promotional materials, I need to analyze the network of connections between key individuals in our organization. To do this, I have access to a dataset containing the edge set [(0, 1), (1, 2), (2, 0), (1, 3), (3, 4), (4, 1)]. I have been asked to use the motifs_randesu function in igraph to count the number of all 3-node motifs in the graph and visualize how information flows through the network.
### Response:
from igraph import Graph

# Create a graph
edges = [(0, 1), (1, 2), (2, 0), (1, 3), (3, 4), (4, 1)]
g = Graph(edges)

# Count 3-node motifs in the graph
motifs_counts = g.motifs_randesu(size=3)

# Print the counts of all 3-node motifs
print(motifs_counts)
<|EOT|>
