Count how many divs has a specific content?
<p>I want to count how many divs with the class <code>.tool</code> that contain the following html by example : <code>&lt;b&gt;Photoshop&lt;/b&gt;</code></p>

<pre><code>&lt;div class="tool"&gt;&lt;b&gt;After Effects&lt;/b&gt;&lt;/div&gt;
&lt;div class="tool"&gt;&lt;b&gt;Photoshop&lt;/b&gt;&lt;/div&gt;
&lt;div class="tool"&gt;&lt;b&gt;Illustrator&lt;/b&gt;&lt;/div&gt;
&lt;div class="tool"&gt;&lt;b&gt;Photoshop&lt;/b&gt;&lt;/div&gt;
&lt;div class="tool"&gt;&lt;b&gt;Photoshop&lt;/b&gt;&lt;/div&gt;
// This would return 3
</code></pre>

<p>How to do that using jQuery? i only can count all <code>.tool</code> divs?</p>

<p>Thanks</p>
