There are different approaches to get total number of items throughout PouchDB APIs.
When calling db.allDocs() one can find out total number of items with total_rows.
When calling db.query() with mapreduce and a view, _count reduction can be used.
But how do I get total number of items when calling db.find() of beta
pouchdb-find API?
In my case, I want to use some selector, implement paging with 'limit' and 'skip' options, and with another call to retrieve the number of items that pass the selector, so I can implement paging navigation.