How do I get the number of keys in the database inside a transaction? I can't see a way to do it in the API. If I just try to do len(btree) on a btree I opened with the txn keyword, it locks up. Thanks, Matt