Number of occurrences

Returns the number of matches for a given sub-string in a single string.

Example Use Case

A company want to know how many times they've been mentioned in the last 1000 tweets. Using the number of occurrences function, they can take raw data provided by an external system, in a comma-separated list, and count the number of times a certain word or phrase appears in that list.

Example Eligibility Rule

number of occurrences of "Medallia" in "last 1000 tweets" "ignoring case"

Exp - count occurrences