pub fn count(db: &Db) -> Result<usize>Expand description
How many rows the table holds, readable or not.
list_all skips a value that will not decode, which is right - one
corrupt record must not wipe the rest of the durable set - but it makes
the decoded rows an undercount of what is there. The sweep compares
this with what it moved, so the count has to come from the table.