modella-level-count

keep a count index of the number of instances in a model

modella-level-count

npm install [--save/--save-dev] modella-level-count
Model.use(db, function(model){
  return model.should_be_counted()
})
 
Model.count() // => number of models 

MIT