title: jQuery how many th hasClass
body: <p>I need to find out how many th have the class 'ui-tableFilter-filtered';</p>
  
  <p>I tried the following</p>
  
  <pre><code>updatecounter(table.find("th").hasClass('ui-tableFilter-filtered'));
  </code></pre>
  
  <p>but nothing is returned</p>