title: How do I count the number of global variables in global scope?
body: <p>I'm working on a project <em>developed by someone else</em>. I load the Chrome Developer Tool to check the status of a global variable. When I tick open Global under Scope, I see a colossal number of global variables. It takes me over 8 seconds to scroll through them. Having worked on this project for some time now, I know that global variables is a problem which we'll have to fix; but, *that is irrelevant to my question.</p>
  
  <p>To communicate the <em>scale</em> of our global scope being flooded, I'd like to <strong>count the number of variables presently instantiated in the global scope</strong></p>
  
  <p>How do I do this?</p>
  
  <p>I'm looking for an answer in JavaScript that I can execute immediately in my console. Basically something that may iterate over the global scope and <code>count++</code>. </p>