title: AppFabric get named cache object count
body: <p>I have a named cache and simply want to return (programmatically) its object count.</p>
  <p>I have a DataCache object:</p>
  <pre><code>cache = factory.GetCache(&quot;cacheName&quot;);
  </code></pre>
  <p>I'm currently trying the following:</p>
  <pre><code>cache.GetObjectsInRegion(&quot;cacheName&quot;).Count();
  </code></pre>
  <p>I realize that a region is different than a named cache, but I don't see any other methods that would allow me to achieve this (although I'm sure there are). Any thoughts?</p>