https://news.ycombinator.com/item?id=17783754
Related to taxi-query-benchmarks
In this case we can compute the counts directly on the dictionary indices and only convert back to string values at the very end, which speeds up the query by more than an order of magnitude