leveldb: introducing Batch.Len method