Returns the count of cells in a range that meets a single criterion.
=COUNTIF(A1:A10, ">0") counts how many cells in A1:A10 are greater than 0.