Add rolling histogram and factor out anomaly detection

`golint`:

    counter.go:47:1: receiver name r should be consistent with previous receiver name c for RollingCounter