powershell count characters in string