title: Getting blob count in an Azure Storage container
body: <p>What is the most efficient way to get the count on the number of blobs in an Azure Storage container?</p>
  
  <p>Right now I can't think of any way other than the code below:</p>
  
  <pre><code>CloudBlobContainer container = GetContainer("mycontainer");
  var count = container.ListBlobs().Count();
  </code></pre>