title: get file count based on last modified dates
body: <p>I am looking for some PowerShell script where I can get the count of the files in a directory and come up with a count summary as below:</p>
  
  <pre><code>Date                 Number of files             Size
  26-Feb                  100                      100MB
  25-Feb                  250                      12MB
  24-Feb                  300                      97MB
  </code></pre>
  
  <p>Basically I want to get the count based on a particular last modified date and group them.</p>
  
  <p>I tried many things incluing <code>dir /A-D</code> from cmd and in PowerShell <code>GET-ChildItem</code> and tried combination of these further to pipe and get the desired output but couldn't get it.</p>