def get_counter(obj):
    counter = cache.get(counter_key(obj))
    if not counter:
        counter = 0
    return counter
Returns the cached counter for the given object instance
dataset/ETHPy150Open chrisglass/django-rulez/rulez/rolez/cache_helper.py/get_counter