# Count occurrences[¶](https://doc.dataiku.com/dss/latest/preparation/processors/count-matches.html#count-occurrences "Permalink to this headline")

This processor counts the number of occurrences of a pattern in the specified column

## Matching modes[¶](https://doc.dataiku.com/dss/latest/preparation/processors/count-matches.html#matching-modes "Permalink to this headline")

* ‘Complete value’ : counts complete cell values (output can only be 0

or 1)

* ‘Substring’ : counts all occurrences of a string within the cell

* ‘Regular expression’: counts matches of a regular expression

## Normalization modes[¶](https://doc.dataiku.com/dss/latest/preparation/processors/count-matches.html#normalization-modes "Permalink to this headline")

* Case-sensitive matches (‘Exact’ mode)

* Case-insensitive matches (‘Lowercase’ mode)

* Accents-insensitive matches (‘Normalize’ mode)

Note: accent-insensitive matching is only available for ‘complete value’ matching.
