Just expand the ranges in the formula...

=COUNTA(A1:A100)-COUNTIF(A1:A100;"-")