aggregations for duration and size