fix bug in couting number of rollbacks