add_files_recursive: Use consistent naming for array and count variables.