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