Added distinctcount command

This is a very simple distinctcount implementation

Motivation: On a large collection we needed to count distinct items. Map/Reduce was too slow and the distinct command returned more than 16mb

I am not a C++ developer so help is very welcome