title: Calculating Dictionary length in Flex
body: <p>What's the best way to calculate the length of a Dictionary object in Flex?</p>
  
  <pre><code>var d:Dictionary = new Dictionary();
  d["a"] = "alpha";
  d["b"] = "beta";
  </code></pre>
  
  <p>I want to check the length which should be 2 for this Dictionary.  Is there any way to do it other than looping through the objects?</p>