How to .remove() by count
<p>Here is the HTML:</p>

<pre><code>&lt;div class="line"&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;/div&gt;
</code></pre>

<p>Here is the Jquery:</p>

<pre><code> if ( $( ".line" ).length &gt; 2 ) { 
  //remove all other div.lines but keep the first 2
 }
</code></pre>

<p>How do you do this?</p>
