Incremental aggregate-reduce for MongoDB.