Skip to main content
All CollectionsIntegrations and EnrichmentsClay
Count Occurrences of Items with Clay
Count Occurrences of Items with Clay

Count occurrences of words in text or items in a list.

Updated over 3 months ago

Introduction

This integration allows users to count occurrences of specific items within Clay data. Whether analyzing text for word frequency or tallying items in a list, this action provides a quick and efficient way to quantify data elements. By leveraging Clay's robust data handling capabilities, users can gain valuable insights into their information, supporting various analytical and organizational tasks.

Input

Name

Is Optional

Description

Type

Input

This can either be a block of text or an array.

longtext

Case-Insensitive?

true

If switched on, we will ignore case when counting the number of occurrences.

boolean

Separator

true

If you're entering a piece of text, you can specify how you want items to be separated. This defaults to :space:. So, if you'd like to separate items by comma instead of spaces, you'd enter a comma in this field.

text

Limit

true

If this field is filled out, we'll only return the number of results requested ordered by highest number of occurrences. For example, if you enter 3, we will only return the top 3 recurring items. By default this is set to 99.

number

Output

Name

Type

Results

array

Did this answer your question?