new_contents: def countWords(file):
      wordsCount = 0
      with open(file, "r") as f:
          for line in f:
              words = line.split()
  
              wordsCount += len(words)
      print (wordsCount)
  
subject: Create 0004.py