There is a Sigil, Plugin called "Regex Function Replace", that should be able to count either characters or words of just text and even set the spans with incremented labels and ids with the right python function block.
That may be the easiest way to do what you want.
|