Remove totalUnits usage from (DBS)DataDiscovery. Should put it in WMCore after lumi-mask is applied.