How do I count the number of letters in a string? For example, the number
"W" in this string "WWWEEERRRWWDDR" is 5.