Skip to main content
Version: Latest (4.54.0)

Document Count

The Document Count component allows you to count the number of documents in the Content Store.

The count is executed on the ‘documents’ collection.

By default it will count all the documents (when the query is empty) additionally, you can filter which documents are counted based on a query in the config.

Configuration

Inputs | Outputs


Document Count
Input
Output
Error
00 0 (ilyr27eet)
The incoming message is not used unless the query uses a variable from this object. The incoming message can be empty if you don't need any variables.

  • Example:
  • //query in config:{ "kind":"{{kind}}" }
    //incoming message:
    {
    _id: "135176441e008d9d0c5ba0cee61783ce",
    kind: "CONTAINER"
    }