@php use App\Models\Zone; @endphp @if(($x=Zone::active() ->whereIn('id',$o->addresses->pluck('zone.id')) ->whereNotIn('id',$o->sessions->pluck('id')) ->with(['domain']) ->get())->count())