Some useful class to compute running average, minmax, count etc.