make a access_counter based on redis