added number of commits option