get value count in laravel code example
Example 1: get count laravel
$count = Model::where('status','=','1')->count();
Example 2: count in laravel'
$count = ModelName::where('id',$id)->count();
$count = Model::where('status','=','1')->count();
$count = ModelName::where('id',$id)->count();