> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/aggregate/countd.md).

# COUNTD

COUNTD( `column` )

Returns the count of all non-null distinct values in a `column`

### Arguments

| Input    | Description              |
| -------- | ------------------------ |
| `column` | Column or array to count |

### Outputs

Outputs count of distinct values in `column`

### Example

{% embed url="<https://datawrapper.dwcdn.net/xNmJc/1/>" %}
