count records in clusters