I\'m having a lot of trouble figuring out how to use this collection to count rows.
$wordlist = \\DB::table(\'wordlist\')->where(\'id\', \'<=\', $correcte
Direct get a count of row
Using Eloquent
//Useing Eloquent
$count = Model::count();
//example
$count1 = Wordlist::count();
Using query builder
//Using query builder
$count = \DB::table('table_name')->count();
//example
$count2 = \DB::table('wordlist')->where('id', '<=', $correctedComparisons)->count();