i want only distinct values with count in mongo code example Example: mongodb count distinct db.collection.distinct('field').length