txnid2: change needed for apprunner recovery checks:
    write txnCount to disk once per second.