export counters for commits and commit fails
added a debug message