adds size for terms aggregations

please review @andrewgross