count_files now use pygit2.clone_repository instead of os.system.