Update lettercount.py. Still needs testing.