OpenText Interview Question

Count the occurances of characters in a string