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

Same as #1860, but for WebSQL and IDB only.  The test is skipped in anticipation of getting unskipped once LevelDB is fixed.