add error count link to prepared.html