See if this works for you:

=SUMPRODUCT(1*SUMIF(I3:I6,A3:A8,K3:K6))