Write a function that takes two strings and returns the number of letters they have in common.
Hint: you will need some way to avoid counting a letter more than once if it is in common to both words. To do this, replace each letter with a character that does not normally occur in words (e.g, "@") once you have examined it.
"horse" "mirth"Returns: 2
h and r in common.
"horse" "short"Returns: 4
h,o,r, and s in common
"horse" "seems"Returns: 2
"horse" "moose"Returns: 3