`#count` in conjunction with `#uniq` performs distinct count.

closes #6865