[Wikitech-l] Character-counting parser function