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