I am trying to get count of an array in a document by using Mongodb aggregation $count operator. I am using node.js and promise
Mongodb aggregation
$count
node.js
promise