get count laravel
$count = Model::where('status','=','1')->count();
Source: stackoverflow.com
check count in laravel
$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get(); $wordCount = $wordlist->count();
how to get count of rows in a table in laravel query
$counter = Modelname::where('status','1')->count(); # laravel 5.6
how to get count of rows in a table in laravel query
$counter = Modelname::count(); # laravel 5.6