$io.getCount

Returns the total count of files and directories that contains the given directory.
Syntax
    $io{getCount}{dir}
    $io.getCount{dir}
Documentation
    Returns the total count of files and directories that contains the given directory:
      dir, the directory from where you will get the total count of files and directories.
Examples
    $io.getCount{public://}
    Result:
    Returns the total count of files and directories that contains the public www directory.
GroupSpecial
Minimum required transaction-mode:READ=IO
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1