Finding the highest atomic counters

Yes, I would recommend you to write a view for that and emit it as the key. It then gets automatically sorted and you can limit() the number of rows that are returned to get your “top” ones.