I\'m having a lot of trouble figuring out how to use this collection to count rows.
$wordlist = \\DB::table(\'wordlist\')->where(\'id\', \'<=\', $correcte
Its better to access the count with the laravels count method
$count = Model::where('status','=','1')->count();
or
$count = Model::count();