How do I get the total of table data with a particular class? (jQuery)
<p>Say I have the following table: </p>

<pre><code>&lt;table class="table questions"&gt;
    &lt;tr&gt;
        &lt;td class="someClass"&gt;Some data&lt;/td&gt;
        &lt;td class="someOtherclass"&gt;Some data&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td class="someOtherClass"&gt;Some data&lt;/td&gt;
        &lt;td class="someOtherclass"&gt;Some data&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td class="someOtherClass"&gt;Some data&lt;/td&gt;
        &lt;td class="someClass"&gt;Some data&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>How would I get the total of table data where they had the class value of someClass? e.g. for this table the total would be two. </p>
