title: Get count of files from directory without enumerating files in c#
body: <p>I am using     <code>Directory.EnumerateFiles()</code> and <code>Directory.GetFiles()</code> to get the count of files in a specific directory in c#. The problem is that theses methods are slow because they enumerate files to get there count.</p>
  
  <p>How to get the count of files in Directory without enumerating files in c#?</p>