powershell command to count characters in string