db.DistinctCount(indexName)  will return distinct values in the index
and the number of documents within that index.