LTM Limited interview question

Write program to print the letter count from the given string