search builder with aggregates support