title: Counting duplicates in a Listbox
body: <p>I am trying to develop a simple application in C# to count the number of duplicates in a listbox. I need to count all the number of duplicates and display a rank suffix to the top 3 elements most duplicated. For example, suppose a list has 7 elements called 'apple', 6 elements called 'pear', 4 elements called 'peach' and 3 elements called 'orange', after the process, it should display the list as:</p>
  
  <pre>
  apple (7)
  pear (6)
  peach (4)
  orange
  </pre>