eloqoent get count code example
Example 1: jquery count elements
var count_elements = $('.class').length;
Example 2: get count laravel
$count = Model::where('status','=','1')->count();
var count_elements = $('.class').length;
$count = Model::where('status','=','1')->count();