public function transform(Location $location)
    {
        return [
            'id' => $location->id,
            'name' => $location->name,
            'upcomingJobsCount' => (count($location->upcoming_jobs_count) > 0) ? $location->upcoming_jobs_count[0]->aggregate : 0,
        ];
    }