support histograms

in accordance with existing codebase, implement this in graphite
backend