Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Jokes
Docs Menu
Docs Home
/ / /

Count Pipeline Results Documents

You can view the number of documents outputted by your pipeline with the count results button.

When you delete or add a document, you must manually refresh the count results value on the Aggregations tab to reflect the new document count.

To count result documents, you must first create and run your aggregation pipeline. You can't count result documents while editing your pipeline.

1
  1. If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your project from the Projects menu in the navigation bar.

  3. In the sidebar, click Data Explorer under the Database heading.

    The Data Explorer displays.

Note

You can also go to the Clusters page, and click Data Explorer under the Shortcuts heading.

2
3

After you run your pipeline, click count results, which appears under the Run button. The count results button will update with the count of resulting documents.

Click the count results link
4

If you edit your pipeline, click refresh to update your document count.

Back

Create a View

On this page