Xojo.IO.FolderItem.Count
From Xojo Documentation
Read-Only Property (As UInteger )
The number of items in the FolderItem if it is a folder. If the item is not a folder then it returns 0.
Sample Code
Get the count of files in the folder:
The number of items in the FolderItem if it is a folder. If the item is not a folder then it returns 0.
Get the count of files in the folder: