On Fri, May 31, 2013 at 1:18 AM, MRAB <python at mrabarnett.plus.com> wrote: > "I have a batch of identical collections of items. How many do I have > of each item?" Perfect use for dictionary comprehension. I don't think this sort of thing is common enough for builtin functionality... ChrisA