Hi,
With the autofilter on, to count the "Y"s:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(A4,ROW(A4:A100)-ROW(A4),,1))*(A4:A100="Y"))
and to count the "N"s:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(A4,ROW(A4:A100)-ROW(A4),,1))*(A4:A100="N"))
------
Incidentally, you can do this more easily...