Update the way we compute the number of total partitions in PartitionServerHandler