please change to `sum_test = len(files for files in os.listdir(DUMPED_APPS_PATH))`