---
title: "Count"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/vector/count
markdown: https://docs.nodetool.ai/nodes/vector/count.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/vector/count.md
---

# Count

**Type:** `vector.Count`

**Namespace:** `vector`

## Description

Count the number of documents in a collection.
    vector, embedding, collection, RAG

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| collection | `collection` | The collection to count | `{"type":"collection","name":""}` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `int` |  |

## Related Nodes

Browse other nodes in the [vector](./) namespace.
