import collections
c = collections.Counter([3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5])
print('c = {}'.format(c))
num_of_five = c[5]
print('num_of_five = {}'.format(num_of_five))
c[3] += 57
print('c = {}'.format(c))
aW1wb3J0IGNvbGxlY3Rpb25zCmMgPSBjb2xsZWN0aW9ucy5Db3VudGVyKFszLCAxLCA0LCAxLCA1LCA5LCAyLCA2LCA1LCAzLCA1XSkKcHJpbnQoJ2MgPSB7fScuZm9ybWF0KGMpKQpudW1fb2ZfZml2ZSA9IGNbNV0KcHJpbnQoJ251bV9vZl9maXZlID0ge30nLmZvcm1hdChudW1fb2ZfZml2ZSkpCmNbM10gKz0gNTcKcHJpbnQoJ2MgPSB7fScuZm9ybWF0KGMpKQo=
c = Counter({5: 3, 3: 2, 1: 2, 4: 1, 9: 1, 2: 1, 6: 1})
num_of_five = 3
c = Counter({3: 59, 5: 3, 1: 2, 4: 1, 9: 1, 2: 1, 6: 1})