The shell's count function supports collations, as evidenced here. This does not appear to be documented here or here.