Obtenha contagem de aulas no jQuery
// Gets the number of elements with class yourClass
var numItems = $('.yourclass').length
Shubham Rathod
// Gets the number of elements with class yourClass
var numItems = $('.yourclass').length
<div class="wrapper">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
<script>
alert($('.wrapper').children('.item').length)
</script>