const GET_COUNT_LUA: &str = r#" local current = redis.call('GET', KEYS[1]) if current == false then return 0 end return tonumber(current) "#;
Lua script to get current count without incrementing.