def _get_repo_commit_count():
    commit_list = _execute_local_git_command('rev-list', 'HEAD').split()
    return len(commit_list)
:return: The number of commits in the repo
dataset/ETHPy150Open box/ClusterRunner/app/util/autoversioning.py/_get_repo_commit_count