how to determine how many jQuery objects are on a page?
<p>Can I determine the number of jQuery objects on a page? </p>

<p>I want to use the number of elements as a sort of weak benchmark for page complexity.  I'm thinking that if I can reduce the number of elements that jQuery knows about , the page might run more efficiently. </p>

<p>Does this make sense?  </p>

<p>Is it as simple as doing a * select and counting the results?</p>

<hr>

<p>related:<br>
<a href="http://stackoverflow.com/questions/2923987/">How can I clear content without getting the dreaded “stop running this script?” dialog?</a></p>
