title: SQLite3 equivalent to mysql_num_rows
body: <p>What's the equivalent in SQLite3 to mysql_num_rows? 
  I know SQLite had a similar function call. What I'm doing in PHP is doing a for while fetching an array from the query and counting a variable but I don't like it very much.</p>