title: Python | Return the number of times the item occurs in the list
body: <pre><code>def count(squence,item):
      count=0
      i=0
      for item in squence:
          if item == squence:
              count+=1
  
      print count
  
  count([1,7,8,7,7],7)
  </code></pre>
  
  <p>I don't understand why the If statment doesn't work :(
  Thanks,</p>