function to support aggregating all results

also allow you to pass in a date_range to aggregation to override
what is set in the window. useful for debugging calculations