Bugfix: counter had wrong initial value

search() returns line numbers, so counter's initial value was the first line number that had the tag.
The following HTML for example resulted in a wrong counter value, and so plugin didn't work well:
<!DOCTYPE html>
<html>
	<head>
        <meta charset="utf-8" />
		<title>a</title>
	</head>
	<body>
  <span>
  
  </span>

  <span>
	</body>
</html>