title: Frequency count of char in array python
body: <p>I have an array of cathegory characters</p>
  
  <pre><code>x = ['ca','bd','lo',...]
  </code></pre>
  
  <p>And I'd like to find the frequency of each of these cathegories. </p>
  
  <p>Basically a list like this</p>
  
  <pre><code>y = [[2,'ca'],[0,'bd'],[10,'lo'],...]
  </code></pre>
  
  <p>Is there an easy way in python?</p>
  
  <p>Thanks!</p>