Added funs for aggregates.
- Added min, max, sum, count.