I'm trying to return specific columns including the reviews_count one.
Here is the non-optimized query (working):
Model::withCount('reviews')->get();
Here is what I try to achieve (doesn't work):
Model::withCount('reviews')->select('id','name','reviews_count')->get();
What should I do to include the reviews_count in the select query using eloquent?