Nested aggregates and calculations - Ash Framework