Mixin: count

count

This mixin provides count() method.
Source:

Example

var collection = new KagoDB();

// count item
collection.count({ category: 'fruit' }, function(err, count) {
  console.log(count);
});