Database
[{"item":1,"products":[{"name":"xyz","xTag":32423},{"name":"abc"}]},{"item":2,"products":[{"name":"bob",},{"name":"foo"}]}]
Query
db.collection.aggregate([{$unwind:"$products"},{$match:{"products.xTag":{$exists:false}}},{$count:"count"}])