Code for letter_count.py and list_letter_count.py.
TJ version of letter_count.py.