-/// Expand the counters for the labelstring of \c layout
-std::string expandLabel(LyXTextClass const & textclass,
- LyXLayout_ptr const & layout, bool appendix);
-
-/// updates all counters
-void updateCounters(Buffer const &);
+/// Count the number of chars in the text between these two iterators
+int countChars(DocIterator const & from, DocIterator const & to, bool with_blanks);