How long are your file names?

There’s a problem, as my files are longer than 259 characters which seems to crash the powershell-script.
It does not calculate totals.

"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"
"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"
"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"
"G:\Myfolder\Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del.Del","259"

It looks like 259 is a magic number because it breaks my Cryptomator on Win 10 as reported here.