python script which count words from text

NoSuchKey