How to get related field name when using groupBy?

I have cafes and cities collections. I want to count how many cafes are in any given city. Cafe has M2O relation with City and has city id as a field.

How can I get city name when grouping by city?

I would love to have city name instead of city Id in the result.