title: Using re.findall in a txt file
body: <p>I want to use <code>re.findall</code> for detecting how many times is a a word displayed in a .txt file. Also I need that if I'm trying to count how many times the word <em>Hello</em> appears in the text <em><strong>Hello</strong>oo</em> to be detected.</p>
  
  <p>Here is all the code I have:</p>
  
  <pre><code># -*- coding: utf-8 -*-
  import re
  
  total = 0
  
  with open('text.txt') as f:
      for line in f:
          total = re.findall('Hello')
  
  print total
  </code></pre>