ccount

Count how often a character (or substring) is used in a string

@demouth/mb_strwidth

Calculates the width of a string, where halfwidth characters count as 1, and fullwidth characters count as 2.