allow setting of a terms aggregation size