get the count of results from a selector

get the count of results from a selector

how would you get the number results from the code below?


  1. $("tr:has(<td><code>"+value+"</code></td>)").each(function(index, element){});