---
title: fileTotalCount
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/progress/filetotalcount
---

# fileTotalCount

The total number of files for a file progress object.

## Declaration

```swift
var fileTotalCount: Int? { get set }
```

## Discussion

Discussion If the current progress is operating on a set of files, set this property to the total number of files in the operation. If present, Progress presents additional information in its localized description by setting a value in the userInfo dictionary.

## See Also

### Inspecting File Operation Progress Information

- [fileOperationKind](foundation/progress/fileoperationkind-swift.property.md)
- [fileURL](foundation/progress/fileurl.md)
- [fileCompletedCount](foundation/progress/filecompletedcount.md)
- [Progress.FileOperationKind](foundation/progress/fileoperationkind-swift.struct.md)
