title: How to count number of records in an SQL database with python
body: <p>I can't seem to print the number of records in my database:<br>
  When I program:  </p>
  
  <pre><code>cursor = cnxn.cursor()   
  count = cursor.execute("select count(*) from fixtures")  
  cursor.commit  
  print (count)
  </code></pre>
  
  <p>(fixtures is the name of my database)<br>
  I get:  </p>
  
  <pre><code>pyodbc.Cursor object at 0x00000000032FC150  
  </code></pre>
  
  <p>...rather than the number of records.  </p>
  
  <p>I am using pyodbc module on python</p>