jquery li считается в UL

$('#menu ul').filter(function(){ return $(this).children("li").length > 1 })
Real Rat