Skip to content

Glossary: MongoDB

$count

Also written: $count: {}

An accumulator that counts the documents in each group, written `{ $count: {} }`.

Where the book teaches it

Related terms

Accumulator$group