## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart TD countAggregateFunction_start((START)) countAggregateFunction_start --> countAggregateFunction_0_0[COUNT]:::quoted countAggregateFunction_0_0 --> countAggregateFunction_0_1["("]:::quoted countAggregateFunction_0_1 --> countAggregateFunction_0_2[DISTINCT]:::quoted countAggregateFunction_0_1 --> countAggregateFunction_0_3[<a href="Invantive UniversalSQL/Grammar/Query Statement/Select Statement#part" class="internal-link">part</a>] countAggregateFunction_0_2 --> countAggregateFunction_0_3[<a href="Invantive UniversalSQL/Grammar/Query Statement/Select Statement#part" class="internal-link">part</a>] countAggregateFunction_0_3 --> countAggregateFunction_0_4[")"]:::quoted countAggregateFunction_0_4 --> countAggregateFunction_end((END)) ``` ## Purpose Group function to find the number of values from a group of values.