diff --git a/source/reference/operator/aggregation/count.txt b/source/reference/operator/aggregation/count.txt index e7638c62b5f..ac77c38bb11 100644 --- a/source/reference/operator/aggregation/count.txt +++ b/source/reference/operator/aggregation/count.txt @@ -60,6 +60,8 @@ The :pipeline:`$count` stage is equivalent to the following where ``myCount`` would be the output field that contains the count. You can specify another name for the output field. +If the previous stage contains 0 documents, this stage will **NOT** return a single document with `{myCount: 0}`; It will return the result of 0 documents, and this stage will not be executed. + .. seealso:: :method:`db.collection.countDocuments()` which wraps the