Counts the number of occurrences of a substring in a string. Takes str (string to search), substring (substring to count). Returns the total number of non-overlapping occurrences of substring found within str.
str
String
substring
String
; No example implemented yet