 
   # Count the number of lines in a string and add it to `@line`.
   countLines: (str) ->
-    num = pos = 0
-    ++num while pos = 1 + str.indexOf '\n', pos
-    @line += num
+    pos = 0
+    ++@line while pos = 1 + str.indexOf '\n', pos
+    str
 
 # Constants
 # ---------


  # Record an outdent token or multiple tokens, if we happen to be moving back
  # inwards past several recorded indents.
  outdentToken: (moveOut, noNewlines, close) ->
    while moveOut > 0
      if (len = @indents.length - 1) < 0
        moveOut = 0

    if 0 > body.indexOf '#{'
      body .= replace(HEREGEX_OMIT, '').replace(/\//g, '\\/')
      @token 'LITERAL', "/#{ body or '(?:)' }/#{flags}"
      return @countLines(heregex).length
    @tokens.push ['IDENTIFIER', 'RegExp', @line], ['CALL_START', '(', @line]
    tokens = []
    for [tag, value] of @interpolateString(body, regex: true)
