The line here should be changed https://github.com/euqen/mongoose-paranoid-plugin/blob/master/index.js#L19 to have prepend `method !== 'count' && ` since count method does not support `options` argument per the docs at https://mongoosejs.com/docs/api.html#model_Model.count. I suggest to implement a workaround for count somehow.