Basic statistical computations on frequency maps (histograms) in Clojure