title: AttributeError: 'builtin_function_or_method' object has no attribute 'count'
body: <p>Can someone please help me?<br>
  I keep getting this error:</p>
  
  <blockquote>
    <p>AttributeError: 'builtin_function_or_method' object has no attribute 'count'</p>
  </blockquote>
  
  <p>Here's my code:</p>
  
  <pre><code>fin=open("ah_d_01_CGATGT_L003_R1_001.fastq","r")
  fout=open("ah_d_01_CGATGT_L003_R1_001.filt.fastq","w")
  maxN=4
  contatutte=containcl=0
  seq=""
  for line in fin:
      seq=fin.readline
      ctrl=fin.readline
      qual=fin.readline
      countN=seq.count("N", start=0, end=len(seq))
      if maxN&gt;countN:
          fout.write(line)  #eventualmente aggiungi +"\n"
          fout.write(seq)
          fout.write(ctrl)
          fout.write(qual)
          containcl+=1
  fin.close
  fout.close
  print contatutte,containcl
  </code></pre>
  
  <p>Thanks</p>