I'd. count($MongoWriteBatch) could just as well be misunderstood as asking for how many batches?
I feel being explicit about this is better