json([ 'companies' => Company::withCount(['users', 'warehouses', 'licenseKeys'])->orderBy('name')->get(), ]); } }