Calculate barcode cluster sizes