Check how many element between ID
<p>I have a div, </p>

<pre><code>&lt;div id=refer_friends&gt;
    &lt;input type='text' name='refer1'&gt;
    &lt;input type='text' name='refer2'&gt; 
    &lt;input type='text' name='refer3'&gt;
&lt;/div&gt;
</code></pre>

<p>How to check, how many input elements between DIV refer_friend?</p>

<p>I am using jQuery.</p>
