private function getNumberOfConfigs(Shift $shift)
 {
     $count = 0;
     /** @var DrivingPool $pool */
     foreach ($shift->getDrivingPools() as $pool) {
         if ($pool->hasAssociatedDrivingMissions()) {
             $count += 1;
         }
     }
     return $count;
 }