Fix unicode escape character count (fixes #79)