CGI Interview Question

In the coding round, we need to find the error count, which is a special character