Lionbridge Interview Question

write a program to count occurence of each character in a string