public count(value as String) as UInt:
Counts non-overlapping occurrences of a substring.
Number of occurrences.