its probably taken the "" as a count
if that is the case

COUNT (range) - Countif(range,"") should workaround

CountA could also be used in mix but i am not 100% sure how it could be used without data to try it on