The "SpaceSaving" stream counting algorithm for Clojure