lib/feathers-mongo-collections.js
function(coll, callback){
		  		// Switch databases
		  		var collection = self.db.collection(coll.name);
		  		// Get the stats. null if empty.
		  		collection.stats(function(err, stats){
		  			// Add the stats to the corresponding database.
		  			coll.stats = stats;
			  		callback(err, coll);
		  		});
		  	}
function(coll, callback){
		  		// Switch databases
		  		var collection = self.db.collection(coll.name);
		  		// Get the stats. null if empty.
		  		collection.stats(function(err, stats){
		  			// Add the stats to the corresponding database.
		  			coll.stats = stats;
			  		callback(err, coll);
		  		});
		  	}
function ( coll , callback ) { // Switch databases var collection = self . db . collection ( coll . name ) ; // Get the stats. null if empty. collection . stats ( function ( err , stats ) { // Add the stats to the corresponding database. coll . stats = stats ; callback ( err , coll ) ; } ) ; }
Async function to add stats to each collection.
Async function to add stats to each collection .