@if(($x=\App\Models\Domain::active() ->select('domains.*') ->join('zones',['zones.domain_id'=>'domains.id']) ->whereIn('zones.id',$o->sessions->pluck('pivot.zone_id')) ->get())->count())