That one I would think would count the blanks if E4 were empty...

Perhaps this might clean it up a bit?

=SUMPRODUCT((name=C4)*(dob=E4)*(dob<>""))