Collections.Counter added for python < 2.7