whereDoesntHave(Studio::RELATION_ANIME); } /** * Get the badge for the tab. * * @return int */ public function getBadge(): int { return Studio::query()->whereDoesntHave(Studio::RELATION_ANIME)->count(); } }