title: how to get the list of distinct dates and number of records for each date in unix
body: <p>I need to get to know the distinct dates in a file and count for each date in unix.<br>
  <code>zcat abcd.log.gz |cut -d'þ' -f1|cut -c1-10|sort|uniq</code> with this command i am getting distinct dates in a file. but i need count as well.</p>
  
  <p>please suggest me on this.</p>
  
  <p>Thanks in Advance.</p>