Efficiently count model multiple times based on column's value
I'm wondering if there is a better way to do this (or if I'm doing this right). I have a Booking Model, on the page I want to display a count of bookings in different states, based on a status column.
Right now I feel like I'm making too many calls to the database? Here is my code in my controller.
Is this making 3 separate calls to the database? Is there a way I can make one call to get all bookings then "filter" them based on the status and count? I'm worried I'm not being efficient enough with Elloquent.