Count duplicate dates in list and occurance of duplicate dates in count
<p>I am having list of dates in which i need to check for duplicates and occurances of duplicate dates in count i need to implement in javascript...
Try to help me out 
thank in advance.
<code>EX: { 12/11/2011, 12/11/2011, 11/4/2012, 12/6/2012, 12/6/2012, 12/6/2012}
Desire output: {12/11/2011, 11/4/2012, 12/6/2012}
count: 12/11/2011 =2
count: 12/6/2012 =3</code></p>
