public count ( string $directory = '.', string | null $type = null, boolean $recursive = true ) : integer | ||
$directory | string | The directory, by default is the current directory. |
$type | string | null | The type of item to count (file, directory, link, unknown) |
$recursive | boolean | true by default |
return | integer |