Params path is the path to a folder.
Action Counts the number of files in the indicated folder and, optionally, sub-folders.
The number of files or folders at the specified path. This verb determines the count by traversing the whole structure, which can be time-consuming. The folder at the specified path is counted. In other words, if path specifies a folder which contains a single file, then the return value will be 2. Copyright 1999-2001 UserLand Software, Inc. .