Sum all values of a counter in Python 2

how to make a counter in python
python counter
python counter filter