def get_counter(obj):
    counter = cache.get(counter_key(obj))
    if not counter:
        counter = 0
    return counter
Tests creation of a new api/model/resource given nothing has been created previously,
dataset/ETHPy150Open chrisglass/django-rulez/rulez/rolez/cache_helper.py/get_counter--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/states/boto_apigateway_test.py/BotoApiGatewayTestCase.test_present_when_stage_associating_to_new_deployment_errored_on_model_creation