laravel eloquent get count of records code example
Example 1: get count laravel
$count = Model::where('status','=','1')->count();
Example 2: check count in laravel
$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get();
$wordCount = $wordlist->count();