[TxMt] Statistics: number of lines incorrect when no empty line at the EOF