Fixing redis-count script