title: Count content items created by day
body: <p>I need to create a view that would display a table that would show a count of items of content created on a particular day, like this:</p>
  
  <pre><code>Date       Items
  2014-2-1   2
  2014-2-2   3
  2014-2-3   7
  </code></pre>
  
  <p>I created a view with aggregation, added a the following fields:</p>
  
  <ul>
  <li>"post date" with custom format Y-m-d and "Strip HTML tags" and "Remove whitespace" enabled in Rewrite Results section. </li>
  <li>"nid" with Aggregation type = Count</li>
  </ul>
  
  <p>then I added a Sort Criteria on Post date with granularity set to "Day" and aggregation type  to "Group results together." Unfortunately, the results that I get are:</p>
  
  <pre><code>Date      Items
  2014-2-1  1
  2014-2-1  1
  2014-2-2  1
  2014-2-2  1
  2014-2-2  1
  </code></pre>
  
  <p>What did I miss?</p>