A Python word counter.