You can replace all characters by a default character using regular expression and count the length of the result:
=LEN(REGEXREPLACE("こんにちは", ".", "x"))
Note: the REGEXREPLACE function onlys work on newer versions of Excel and Microsoft 365 subscriptions.