I've spent loads of time searching around trying to figure this out but I can find a solution.
I'm trying to return the total row count in my database
Here is what I do to pull all the genre of a specific type.
var film_list = tx.executeSql('SELECT * FROM mydb WHERE genre = "Comedy"');
how can I do something like
var film_total = tx.executeSql('SELECT * FROM mydb TOTAL_ROW_COUNT "');
console.log(film_total)