liczyć w laravel '
$count = ModelName::where('id',$id)->count();
ISHUBHAM
$count = ModelName::where('id',$id)->count();
$count = Model::where('status','=','1')->count();
$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get();
$wordCount = $wordlist->count();