reuse aggregation classes (xqbase-metric-common)