updated rosettacode.org/wiki/Count_occurrences_of_a_substring#FunL task