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