$io.getDirCount

Returns the total count of subdirectories that contains the given directory.
Syntax
    $io{getDirCount}{dir}
    $io.getDirCount{dir}
Documentation
    Returns the total count of subdirectories that contains the given directory:
      dir, the directory from where you will get the total count of subdirectories.
Examples
    $io.getDirCount{public://}
    Result:
    Returns the total count of 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