Add getAggregations() to paginator adapter.