where('started_at', '>=', Carbon::now()->startOfWeek()) ->count(); return [ Stat::make('Utilisateurs', (string) User::query()->count()) ->description('Comptes inscrits') ->descriptionIcon('heroicon-m-users') ->color('primary'), Stat::make('Séances', (string) WorkoutSession::query()->count()) ->description($sessionsThisWeek.' cette semaine') ->descriptionIcon('heroicon-m-fire') ->color('warning'), Stat::make('Meilleur streak en cours', (string) (Streak::query()->max('current_count') ?? 0)) ->description('Jours consécutifs') ->descriptionIcon('heroicon-m-bolt') ->color('success'), Stat::make('Exercices', (string) Exercise::query()->count()) ->description('Catalogue disponible') ->descriptionIcon('heroicon-m-rectangle-stack') ->color('primary'), ]; } }