Looking at it Mongo Session, it seems that you are right on both points. .lengthreturns the number of sessions, and .cleardeletes all data:
MongoStore.prototype.length = function(callback) {
};
MongoStore.prototype.clear = function(callback) {
};
source
share