filename = 'alice.txt'
with open(filename, encoding='UTF-8') as file_object:
contents = file_object.read()
words = (contents.lower()).split()
C = words.count('the')
print(C)
filename = 'alice.txt'
with open(filename, encoding='UTF-8') as file_object:
contents = file_object.read()
words = (contents.lower()).split()
C = words.count('the')
print(C)