title: Fastest way to count number of occurrences in a Python list
body: <p>I have a Python list and I want to know what's the quickest way to count the number of occurrences of the item, <code>'1'</code> in this list. In my actual case, the item can occur tens of thousands of times which is why I want a fast way.</p>
  
  <pre><code>['1', '1', '1', '1', '1', '1', '2', '2', '2', '2', '7', '7', '7', '10', '10']
  </code></pre>
  
  <p>Which approach: <code>.count</code> or <code>collections.Counter</code> is likely more optimized?</p>