fastest way to count number of occurrences in a python list,"[('1', 6), ('2', 4), ('7', 3), ('10', 2)]"