title: regex count occurrences
body: <p>I am looking for a way to count the occurrences found in the string based on my regex. I used <strong>findall()</strong> and it returns a list but then the <strong>len()</strong> of the list is only 1? shouldn't the <strong>len()</strong> of the list be 2? </p>
  
  <pre><code>import re
  
  string1 = r'Total $200.00 Total $900.00'
  regex = r'(.*Total.*|.*Invoice.*|.*Amount.*)?(\s+?\$\s?[1-9]{1,10}.*(?: 
  [.,]\d{3})*(?:[.,]\d{2})?)'
  patt = re.findall(regex,string1)
  print(patt)
  print(len(patt))
  </code></pre>
  
  <p>Resut: </p>
  
  <pre><code>&gt;     [('Total $200.00 Total', ' $900.00')]
  &gt;     1
  </code></pre>
  
  <p>not sure if my regex is causing it to miscalculate. I am looking to get the Total from a file but there are many combinations of this. 
  Examples:</p>
  
  <ul>
  <li>Total $900.00</li>
  <li>Invoice Amt $500.00</li>
  <li>Total 800.00</li>
  </ul>
  
  <p>etc.</p>
  
  <p>I am looking to count this because there could be multiple invoice details in one file.  </p>