Log the number of commits.