Added groupBy, sum, count, average, and getValue