Count the amount of ch at the start of this line ignoring spaces.

Property definitions

markdown $ MDLine :: count_chars_start
	# Count the amount of `ch` at the start of this line ignoring spaces.
	fun count_chars_start(ch: Char): Int do
		var count = 0
		for c in value do
			if c == ' ' then
				continue
			end
			if c == ch then
				count += 1
			else
				break
			end
		end
		return count
	end
lib/markdown/markdown.nit:1517,2--1531,4