countChars renamed to length & BufferedWriter
BufferedWriter