title: Resample Dataframe Monthly and store the count for each month in new Dataframe with columns as Date and Count
body: <p>I want to sample my Dataframe with the date as an index to monthly data and count the instances for each month and then store it in a new dataframe.</p>
  
  <p>Data:</p>
  
  <pre><code>Date        Title
  2001-05-22    A
  2001-05-28    B
  2001-06-13    C
  2001-06-14    D
  2001-06-15    E
  2001-07-15    F
  2001-07-13    G
  2001-07-16    H
  2001-07-17    I
      .         .
      .         .
      .         .
  2001-12-01    Y 
  2001-12-31    Z
  </code></pre>
  
  <p>So I want the ouput should be like:
  New Dataframe with columns</p>
  
  <pre><code>Date        Count
  2001-05-31    2
  2001-06-30    3
  2001-07-31    4
  2001-08-30    1
       .        .
       .        .
  </code></pre>
  
  <p>And after that, plot the data as any graph(bar or which ever looks good for such data) with date as x-axis. 
  <br />
  <b>Note:</b> The data is for a long-range period(2001-2017) so x-axis shouldn't get overlap.</p>