tdb2: add stats to tdb1 backend.