### Question:
IdeogramsWordCounter implements WordCounter { @Override public int countChars (Note note) { String titleAndContent = note.getTitle() + "\n" + note.getContent(); return Observable .from(sanitizeTextForWordsAndCharsCount(note, titleAndContent).split("")) .filter(s -> !s.matches("\\s")) .count().toBlocking().single(); }  @Override int countWords(Note note); @Override int countChars(Note note);  }### Answer:
@Test public void countChars () { Note note = getNote(1L, "这是中文测试", "這是中文測試\n これは日本語のテストです"); assertEquals(24, new IdeogramsWordCounter().countChars(note)); }
@Test public void countChecklistChars () { String content = CHECKED_SYM + "這是中文測試\n" + UNCHECKED_SYM + "これは日本語のテストです"; Note note = getNote(1L, "这是中文测试", content); note.setChecklist(true); assertEquals(24, new IdeogramsWordCounter().countChars(note)); }