Add shard_size to terms aggregate
Fix bug!