$(document).ready(function(){ $('div').html($('*').length+' element seçildi'); });
<div> <p></p><br /> </div>