pub fn count_words(md: &str) -> u32
统计 Markdown 文本的有效字数。
中文字符每个计 1;英文字母按连续字母串计 1 个词。 空文本返回 1,避免摘要或列表中出现 0 字的显示问题。