added shard_size property to the terms stats panel

Added shard_size option to terms stats panel to fix issue #921