Approximate counters for Rust