Add query aggregator