title: Count the number of occurrences of an item in a list without list.count
body: <p>I need to know how you can count the number of times an item appears in a list WITHOUT using the <code>.count()</code> function. For example, I know that if I have a code that runs as</p>
  
  <pre><code>&gt;&gt;&gt; [1,2,3,1,2,1].count(1)
  </code></pre>
  
  <p>then it will output <code>3</code>.</p>
  
  <p>To clarify a little, I want to know specifically how I can get that output <code>3</code>, without using <code>.count()</code>.</p>