diff --git a/ABDataCollectionCore.js b/ABDataCollectionCore.js index 8c24be7b..ccf0c876 100644 --- a/ABDataCollectionCore.js +++ b/ABDataCollectionCore.js @@ -2319,7 +2319,8 @@ module.exports = class ABDataCollectionCore extends ABMLClass { let nextData; if (data.length > 250) { - let pos = this.__dataCollection.count(); + // let pos = this.__dataCollection.count(); + let pos = this.__dataCollection.find({}).length; let remain = data.splice(250); nextData = { data: remain,