simple aggregates (sum, count, min/max) added