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