Laravel abrufen Aggregate

$count = Flight::where('active', 1)->count();

$max = Flight::where('active', 1)->max('price');
Cooperative Crab