$a = @(gci -force 'C:\1'-ErrorAction SilentlyContinue | ? { $_ -is [io.directoryinfo] } | % { $_.fullname})
$b = @(gci -force 'C:\1'-ErrorAction SilentlyContinue | ? { $_ -is [io.directoryinfo] } | % {
gci -recurse -Directory -force $_.fullname -ErrorAction SilentlyContinue | Measure-Object | select -Expand Count
})
($b|measure -max).maximum