here are the way to get the total commits.