Returns the counter's modifier class for len characters out of max, with
a leading space so that it appends to text-editor-count. It warns from 85%
of max and turns to danger at max.
Parameters
len: number
max: number
Return Type
string
Usage
import { charCountClass } from "src/utils/shared/charCount.ts";