(Get-ChildItem -Filter '*.txt' | ForEach-Object { $_.Length } | Measure-Object -Sum).Sum
ls *.txt | measure -Sum Length | % Sum