title: python error: object of type 'builtin_function_or_method' has no len()
body: <p>I have a problem with my current code, I'm trying to count on each 69 rows to see how many row of channels I have got in a sqlite3 database. </p>
  
  <p>When I try this:</p>
  
  <pre><code>cur.execute('SELECT channel FROM programs WHERE channel GROUP BY channel')
  row_count = len(cur.fetchall)
  print row_count
  </code></pre>
  
  <p>It give me the error: </p>
  
  <pre><code>TypeError: object of type 'builtin_function_or_method' has no len()
  </code></pre>
  
  <p>The error are jumping on this line:</p>
  
  <pre><code>row_count = len(cur.fetchall)
  </code></pre>
  
  <p>Can you please help me how I can count on each 69 rows to see how many row of channels I have got in a sqlite3 database?</p>