For ENG-5621, calculate the new number of partitions in one spot and reuse the value so when the calculation changes we don't need to update multiple locations