get_cluster_sizes function

Extractor for cluster sizes