public int computeHANCount(String s) {
    return (int)
        s.codePoints()
            .filter(codePoint -> UnicodeScript.of(codePoint) == UnicodeScript.HAN)
            .count();
  }
compute the number of Chinese characters included in the String
iotdb-client/cli/src/main/java/org/apache/iotdb/cli/utils/IoTPrinter.java