print out correct number of partitions