This formula will count #N/A errors in column A

=COUNTIF(A:A,"#N/A")