Make count html example works on firefox

element.innerText not W3C compliant
http://stackoverflow.com/questions/1359469/innertext-works-in-ie-but-not-in-firefox