Ok, you obviously don't have the new functions yet, try
Formula: copy to clipboard
=LET(f,FILTER($A$2:$J$21,$E$2:$E$21=N3),SUM(IF(f<>"",1,0)))