我有一份mongo文件:
"_id" : ObjectId("570ee4687db3df6a23c085"),
"rep" : ObjectId("570beb"),
"timestamp" : ISODate("2016-04-14T00:29:28.998Z"),
"data" : {
"country" : "",
"age" : 1,
"age_unit" : "days",
"id" : "990121124"
},
"label" : "p_list"
我想要查询值为NOT NULL的“data”元素的数量。我怎么能这样做?