(#1860) - Fix info.doc_count for websql/idb
(#1860) - fix info.doc_count for leveldb