title: find count of childrens of last div with specific class
body: <p><strong>My Html Code</strong>  </p>
  
  <pre><code>&lt;div class="col-md-6" id="buyerblock"&gt;
   &lt;div class="form-inline buyerdiv"&gt;
     &lt;div class="form-group"&gt;
          &lt;input class="form-control" name="buyername1" id="buyername1" style="margin-bottom: 3px;margin-right : 5px" value="" placeholder="Enter Buyer Name" type="text"&gt;
          &lt;input class="form-control" name="buyeremail1" id="buyeremail1" style="margin-bottom: 3px" value="" placeholder="Enter Buyer Email" type="email"&gt;
          &lt;button type="button" id="removebuyerbtn" class="btn btn-danger removebutton" style="margin-left: 19px;"&gt;-&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
   &lt;div class="form-inline buyerdiv"&gt;
    &lt;div class="form-group"&gt;
          &lt;input class="form-control" name="buyername2" id="buyername2" style="margin-bottom: 3px;margin-right : 9px" value="" placeholder="Enter Buyer Name" type="text"&gt;&lt;input class="form-control" name="buyeremail2" id="buyeremail2" style="margin-bottom: 3px" value="" placeholder="Enter Buyer Email" type="email"&gt;
          &lt;button type="button" id="removebuyerbtn" class="btn btn-danger removebutton" style="margin-left: 19px;"&gt;-&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;
   &lt;div class="form-inline buyerdiv"&gt;
    &lt;div class="form-group"&gt;
          &lt;input class="form-control" name="buyername3" id="buyername3" style="margin-bottom: 3px;margin-right : 9px" value="" placeholder="Enter Buyer Name" type="text"&gt;
          &lt;input class="form-control" name="buyeremail3" id="buyeremail3" style="margin-bottom: 3px" value="" placeholder="Enter Buyer Email" type="email"&gt;
          &lt;button type="button" id="addbuyerbtn" class="btn btn-primary addbutton" style="margin-left: 19px;"&gt;+&lt;/button&gt;
          &lt;button type="button" id="removebuyerbtn" class="btn btn-danger removebutton" style="margin-left: 19px;"&gt;-&lt;/button&gt;
    &lt;/div&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>My JS code</strong></p>
  
  <pre><code>var check = $("div.buyerdiv").last().$(".form-group").children().length;
  alert(check);
  </code></pre>
  
  <p>I want to get the count of child elements of form-group class under last buyerdiv class. How can i achieve it ?
  Any help is much appreciated...</p>