I have an observable array With the following Data
["Volkswagen",
 "Toyota",
 "Volkswagen",
 "Toyota",
 "Audi",
 "Volkswagen",
 "Toyota",
 "Audi"]
I would like to know how I can count the duplicate values and display them within my select box. Something like:
Volkswagen (3)
Audi (2)
Toyota (3)
What is the best way to achieve this?
 
     
     
    