Typo: CountOccurences
Currently wrong spelling. This needs to be corrected to avoid propagation to upcoming index functions.
Correct (and slightly adjusted) spelling should be CountOccurrence
(singular)and to make it consistent with the upcoming FirstOccurrence
and LastOccurrence