IDB: Implement IDBObjectStore.count()