removed debug console.log()
only display amount of commits if it fits in the bar