cluster_stats function

Cluster Statistics Calculation