def __len__(self):
        # +1 for \n for each new line, -1 for lack of \n after the last line
        return sum(len(line) + 1 for line in self.lines) - 1
dataset/ETHPy150Open Julian/PyVi/pyvi/window.py/_Charwise.__len__/original