Resource.getTotalResults now by default returns -1.
Resource.getTotalResults now by default returns -1.

-1 is known as a shield value in computer science. 0 was not an appropiate default
return value because a real query may not return any resource. Also this helps the
programmer determine is we have already called `fetch' at least once, e.g.:
if (!!~resource.getTotalResults()) {
   // ups, we havent still called fetch.
}

christopher-ramirez/youtube-query