BulkWriteResult.insertedCount

Number of documents inserted.

struct BulkWriteResult
long insertedCount;

Meta