A Stream transformer that buffers events by a count based threshold