Intel Corporation interview question

Write a function that get a string and count how many from letter in this string