Count cells with values in even rows

Range Reference:
Formula:

=SUMPRODUCT(--(MOD(ROW(B5:B11),2)=0),--(B5:B11<>""))

=SUMPRODUCT(--(MOD(ROW(B5:B11),2)=0),--(B5:B11<>""))