   Event.count {
     created: $gte: dateFrom
     channelID: channel._id
+    type: 'channel'
     event: 'end'
   }, callback
 

      created: $gte: dateFrom
      channelID: channel._id
      event: 'end'
      status: 500
      autoRetryAttempt: channel.autoRetryMaxAttempts
    }, { 'transactionID' }

      channelID: channel._id
      event: 'end'
      status: status
      type: 'channel'
    }, { 'transactionID' }
    .hint created: 1
    .exec callback
