--- title: "Use the COUNTUNIQUEOF to Return Unique Nonblank Items in a Block" slug: "countuniqueof-function" description: "Learn to use COUNTUNIQUEOF to return the number of unique non-BLANK Items related to a specific Dimension in your Block." updated: 2025-05-28T10:24:30Z published: 2025-08-22T12:00:18Z canonical: "kb.pigment.com/countuniqueof-function" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.pigment.com/llms.txt > Use this file to discover all available pages before exploring further. # COUNTUNIQUEOF function ## ​​​Description Returns the number of unique non-`BLANK` items of a Block. ## Syntax `COUNTUNIQUEOF(Block)` ## Arguments | Argument | Type | Dimensions | Description | | --- | --- | --- | --- | | *Block* (required) | Any | Any | | ## Returns | Type | Dimensions | | --- | --- | | Integer | No Dimension | ## Examples Employee is a Dimension List: ![](https://cdn.document360.io/e47cfe35-dc28-40c7-a083-6cf003073d8e/Images/Documentation/d42fc5e2-8bf4-416a-9cca-df33cfaf0635.png) | Formula | Result | Description | | --- | --- | --- | | `COUNTALLOF(Employee)` | 4 | The Employee List contains 4 items. All items in a list are counted as unique. | | `COUNTALLOF(Employee.Name)` | 3 | The Property Name contains 3 unique items. | | `COUNTUNIQUEOF(Employee.Team)` | 2 | The Property Team contains 2 unique items. | ## See also Related articles: [COUNTOF,](/v1/docs/countof-function) [COUNTALLOF](/v1/docs/countallof-function), [COUNTBLANKOF](/v1/docs/countblankof-function) > [!TIP] > **More of a hands-on learner?** > > Talk to your Customer Success Manager about downloading the Functions and Modifiers in Pigment Application into your workspace. It includes examples of every formula and modifier in Pigment! ​