redefine part_counts to be "number of vector elements in a partition"