Simple SUM,AVG,COUNT implementation for underscore