letter = eval(input('Enter the letter you would like to count: '))
while not letter.isalpha() or len(letter) != 1:
    letter = eval(input('Not a single letter. Try again: '))
print(''.join(lst).lower().count(letter))
How do I count the amount of times a letter appears using python?