
Count Substring Occurrences

This function should take a main string and a substring as inputs and return the number of occurrences of the substring within the main string. It should not be case-sensitive and may overlap.
Input: Two strings (string).
Output: Integer (number).
Examples:
assert.strictEqual(countOccurrences("hello...
You should be an authorized user in order to see the full description and start solving this mission.