code: public double setWorkUnitEstSizes(Map<String, List<WorkUnit>> workUnitsByTopic) {
      double totalEstDataSize = 0;
      for (List<WorkUnit> workUnitsForTopic : workUnitsByTopic.values()) {
        for (WorkUnit workUnit : workUnitsForTopic) {
          setWorkUnitEstSize(workUnit);
          totalEstDataSize += getWorkUnitEstSize(workUnit);
        }
      }
      return totalEstDataSize;
    }
docs: Calculate the total size of the workUnits and set the estimated size for each workUnit
  @param workUnitsByTopic
  @return the total size of the input workUnits