how to count the number of records in a table laravel 8 code example Example: get count laravel $count = Model::where('status','=','1')->count();