Adding support counter if REDIS_HOST and REDIS_PORT are present.