Deprecated. Don't use for new development and try to migrate existing uses.
This function is used to find the number of non-overlapping occurrences of a substring withing a larger body of text.
The number of non-overlapping occurrences found.