Add terms aggregation example