title: Count same items in listview
body: <p>I've been trying to count the same items in my listview but unfortunately I don't have any idea how to do it. Ok here is the question, I got a gridview that has datas for example in the first cell it would be <strong>SUGAR</strong> then when i click it, it will be displayed on the listview. I already done that. But what im trying to do is that when I click that <strong>SUGAR</strong> again in the gridview, the <strong>SUGAR</strong> on the listview would give me like a custom text <strong>x2</strong> so that I will know that its a second item with the same data.</p>
  
  <p>Is it possible to do this? If so, How can I achieve this?</p>