function addCharCount(d) {
Array.slice(d.getElementsByTagName('H3')).forEach(function(h) {
var count = 0;
for (var node = h.nextSibling; node && node.tagName != 'H3'; node = node.nextSibling)
if (node.nodeType == node.ELEMENT_NODE)
count += node.textContent.length;
h.appendChild(unsafeWindow.Ten.Element('span', { style: { fontSize: 'x-small', margin: '0 1em' } }, '(' + count + ')'));
});
}
addCharCount(document);
AutoPagerize && AutoPagerize.addFilter(function(docs) { docs.forEach(addCharCount) });