<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edge set [(0,1), (0,2), (1,2), (3,4)], how many clusters are detected using the edge betweenness community detection algorithm in igraph?
### Response:
from igraph import Graph

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

# Perform a community detection to get a Clustering object
clusters = g.community_edge_betweenness()

# Get the number of clusters
count = len(clusters)
print('Number of clusters:', count)
<|EOT|>
