Fixed bug in aa_cluster_count method