---
layout: page
title: "Count"
node_type: "vector.Count"
namespace: "vector"
---

**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.
