Possible Duplicate:
get the elements number inside parent div jquery
Is it possible to get the number of elements that are inside a div?
<div id=count">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
the resut should be
4