lwzm
7/2/2015 - 1:51 AM

test.py

import collections

cnt = collections.Counter()
cnt['a'] += 1
cnt['b'] += 1