TextColumn::make('applications_count')->counts('applications')->label('Applications'),TextColumn::make('applications_count')->counts([ 'applications' => fn (Builder $query) => $query->where('completed', 1),])->label('Completed applications'),
applications_count