add numBuckets param for terms facet