jquery detect nunber of item inside a div and add a class
<p>Hey hi there,
I would like to add a style to a div if number of items within this div is >2</p>

<p>If number of <code>&lt;ie:menuitem&gt;</code> is superior to 2 div with id s4-ribbonrow = display:block;</p>

<pre><code>&lt;div class="s4-pr" id="s4-ribbonrow" style="height: 135px; display: none;"&gt;
&lt;ie:menuitem menugroupid="100"&gt;&lt;/ie:menuitem&gt;
&lt;ie:menuitem menugroupid="100"&gt;&lt;/ie:menuitem&gt;
&lt;ie:menuitem menugroupid="100"&gt;&lt;/ie:menuitem&gt;
&lt;ie:menuitem menugroupid="100"&gt;&lt;/ie:menuitem&gt;
&lt;/div&gt;
</code></pre>

<p>How would i do that in Jquery?</p>
