Amazon Interview Question

SQL query to count number of letters in a string