files_found = 0
for root, dirs, files in os.walk(path):
    for name in files:
        if keyword in name.lower():
            files_found += 1
time.sleep(0)
update_progress_bar()
print('Found {}'.format(files_found))
Отображать количество найденных файлов и прогресс