Database
[{party1:{partyRole:"clown"}}]
Query
db.collection.aggregate([{$group:{_id:"$party1.partyRole"}},{"$match":{_id:{$ne:null}}},{"$count":"count"},{"$unionWith":{"coll":"collection","pipeline":[{"$documents":[{"count":0}]}]}},{"$limit":1}])