Added mongo aggregate counter.