laravel eloquent model count total 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();