What does the includeArrayIndex option of $unwind add to each output document?db.docs.aggregate([ { $unwind: { path: "$items", includeArrayIndex: "idx" } } ])