If you are looking for multiple cells containing numerical values, then a function COUNT()is what you are looking for:
=COUNT(A1:D6)
If you are looking for the number of cells with non-empty values (numeric or others), then this COUNTA()is the correct function:
=COUNTA(A1:D6)
, (.. ="" - ). , :
=SUMPRODUCT((E7:G10<>"") * 1)