Fixed repl not accounting for multi-line input when incrementing the current line count