hi SamCV. i'm thinking in another direction, so here's my solution in B3:
=COUNTIFS(D$3:D3,D3,E$3:E3,E3)

or:
=SUMPRODUCT(--(D$3:D3&E$3:E3=D3&E3))