title: jQuery class count on a certain table column number
body: <p>I've been at this for a while and want to know the best way of achieving my goal if anyone has any ideas!</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;table&gt;
  &lt;tbody&gt;
  &lt;tr&gt;
  &lt;td&gt;Hello&lt;/td&gt;
  &lt;td&gt;Hello (I want to check this column)&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Hello 2&lt;/td&gt;
  &lt;td class="active"&gt;Hello 2 (this column)&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>jQuery I've got so far (I'm traversing from a clicked element):</p>
  
  <pre><code>var length = $(self).closest("tbody").find("tr").find("td.active").length;
  </code></pre>
  
  <p>Obviously this gets all the active classes of td, when I only want the second column. I've tried:</p>
  
  <pre><code>var length = $(self).closest("tbody").find("tr").find("td:eq(1).active").length;
  </code></pre>
  
  <p>This does not work.</p>
  
  <p>Any ideas?</p>