I added a query to a RecordFeed and wanted to check how many results matched with getTotalResults() before iterating over the results with getEntries(). I spent a lot of time reading the documentation for the query syntax, url-escaping, encasing in double quotes, etc. because getTotalResults() was always returning the full # of rows in the table. I eventually just decided to iterate over the results and was very surprised that there was only one (the correct result for the query).
Shouldn't getTotalResults() take the query into account when telling the user how many results will be returned? http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=2351 -Ralf
