Terms panel improvements

- add hide/show count column option
- truncate long numbers in terms_stats
- display number of distinct terms (using aggregation)