$count = Model::where('status','=','1')->count();
$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get(); $wordCount = $wordlist->count();
$model = App\Models\Flight::where('legs', '>', 100) ->firstOr(['id', 'legs'], function () { // ... });