added errors count in index.html