This is my solution resulting in an error. Returns 0
PS: I\'d still love a fix to my code :)
from collections import Counter import
Counting number of letters in a string using regex.
import re s = 'The grey old fox is an idiot' count = len(re.findall('[a-zA-Z]',s))