find max in nested dictionary,"max(d, key=lambda x: d[x]['count'])"