title: Get element tag name and length with Jquery each
body: <p>I'm trying to get info about all element tags and there frequency in the page, this is how I find the tag, very simple:</p>
  
  <pre><code>$('body *').each(function(){
  var string = this.tagName;
  </code></pre>
  
  <p>But the length doesnt catch up:</p>
  
  <pre><code>var count =  $(this).length;
  </code></pre>
  
  <p>It gives me <code>1</code> while there are two divs, example: <a href="http://jsfiddle.net/Xrgh6/1/" rel="nofollow noreferrer">JsFiddle</a></p>
  
  <p>I can solve this problem by removing the <code>each</code> function but I need it for the tagname. I have to use body * for my project so I can't refer directly to the divs. </p>