Write a function that counts the letters of a string and records them.
Implement def count_letters(s):. Return a dictionary mapping each English letter to its case-insensitive frequency, ignoring spaces, punctuation, digits, and other nonletters. Preserve the order in which distinct letters first appear.
For example, "Swift!" returns {"s": 1, "w": 1, "i": 1, "f": 1, "t": 1}.
A-Z and a-z are counteddef count_letters(s):