title: How to find the count of elements using jQuery
body: <p>I have a span tag and that holds some n number of span tags.. can I get the number of span tags available with in the parent span using Jquery.</p>
  
  <p>example:</p>
  
  <pre><code>&lt;span class="x"&gt;
      &lt;span id="1"&gt;one&lt;/span&gt;
      &lt;span id="2"&gt;two&lt;/span&gt;
      &lt;span id="3"&gt;three&lt;/span&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>now i should find the count of number of span tags inside the parent span and my output is 3 according to the above scenario.</p>
  
  <p>please help me..</p>