A couple of approaches come readily to mind.

My personal choice would be:
A11=AND(a10>-3,a1<0.4) copied across to Z11 to yield a row of TRUE/FALSE's and then apply your COUNTIF to that row =COUNTIF(a11:z11,TRUE)

Alternatively (and someone will correct me if I get the syntax wrong), use an array SUMPRODUCT formula
=SUMPRODUCT(--(a10:z10>-3),--(a10:z10<0.4))
confirmed with ctrl-shift-enter (to make it an array formula).