value()->count laravel 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();