resetNewlineCount

Set the newlineCount to 0;