count = MeetingApprovals::where('child_id', session()->get('children')['id'])->whereNull('approval_at')->count())) { $request->count = (int)0; // response()->json(['count' => (int)0]); } return $response; } }