title: Python tkinter, label has no attribute 'count'
body: <p>I have an error message saying:</p>
  
  <pre><code>sentences = text.count(".") + text.count("!") + text.count("?")
  AttributeError: 'Label' object has no attribute 'count'
  </code></pre>
  
  <p>What can I use instead of <code>.count</code> to count items?</p>