Don't show workers count

Hey, guys! I am writing the widget code, the widget shows 0 instead of the actual number of employees. Code
        Stat::make('Number of workers', Company::find(Filament::getTenant())->first()->companyStuffs->count())
            ->chart([0 , 0.5, 1, 1.5])
                ->color('success'),
Was this page helpful?