title: How to get size of map?
body: <p>Is it possible to get map length/size? For some reason, I need to know the size of the map for debugging purposes. </p>
  
  <p>I cant seem to do something like this:</p>
  
  <pre><code>map = new Map&lt;Int, MyObject&gt;();
  map.set(.., ..);
  map.set(.., ..);
  map.length // should be 2
  </code></pre>
  
  <p>I hope this is possible. If its not, why? </p>