Can use the Click one. The total number of commits is available using `repo.active_branch.commit.count()`.