added some code for counting total commits and aborts of each type