add error count to NEW view