count($request, Vehicle::class, 'status') ->label(function ($value) { return ucfirst(str_replace('_', ' ', $value)); }); } /** * Get the metric's URI key. */ public function uriKey() { return 'vehicles-per-status'; } }