def CountWordFromFlie():
    FileName = input ("enter file name")
    WordCount = 0
    file = open(FileName,"r")
   
    for line in file:
        word = line.split()
        WordCount = WordCount + len(word)
    print(WordCount)
CountWordFromFlie()

d39e0483b08bade0f7fdd7239669de290ed7ebb3
<mask token>

def CountWordFromFlie():
    FileName = input('enter file name')
    WordCount = 0
    file = open(FileName, 'r')
    for line in file:
        word = line.split()
        WordCount = WordCount + len(word)
    print(WordCount)


<mask token>

def CountWordFromFlie():
    FileName = input('enter file name')
    WordCount = 0
    file = open(FileName, 'r')
    for line in file:
        word = line.split()
        WordCount = WordCount + len(word)
    print(WordCount)


CountWordFromFlie()

def CountWordFromFlie():
    FileName = input ("enter file name")
    WordCount = 0
    file = open(FileName,"r")
   
    for line in file:
        word = line.split()
        WordCount = WordCount + len(word)
    print(WordCount)
CountWordFromFlie()
