Get file type counts with PowerShell