Use aggregate methods to count related models

Use aggregate methods to count related models

When you're counting related models in @laravelphp, opt for aggregates!

👎 Using the count() method on a collection of related models is a tad slower.

We're writing a book, you can get it for free here.