How to get the number of DOM elements used in a web page
<p>Using jQuery I can get easily the number of DOM elemetns used by a web page:</p>

<pre><code>$('*').length;
</code></pre>

<p>But not all web sites are using jQuery. </p>

<p>So my question is: how to get the number of DOM elements used in a web page using pure javascript and js console.</p>
