If I have this added up correctly, it only cost the eagles alonzo, maxwell, and bradford to go get wentz. The Eagles possibly could be exchanging a 2nd round pick for a 1st in 2022. The letters indicate which picks cancel each other out. Hope this answers your question of how many picks they gave up, and that he's on the colts.
2016
Eagles received ----------------------dolphins received
pick #8 (1st round) *A----------------pick #13 (1st round)*A kiko alonzo, byron maxwell
2016
Eagles received-------------------------Browns received
pick #2 wentz (1st round) *B----------Pick #8 (1st round)*B
--------------------------------------------------#77(3rd round)*C
--------------------------------------------------
#100 (4th round) *D
--------------------------------------------------2017 1st round pick *E
--------------------------------------------------2018 2nd round pick ** cancels with colts 2022 pick which could become a 1st
Acquiring wentz made sam bradford expendable
2017
Eagles received --------------------------------------------------Vikings received
2017 1st round pick *E------------------------------------------Sam Bradford
2018 4th round pick *D
2021
Eagles received--------------------------------------------------Colts received
2021 3rd round pick*C--------------------------------------------------Wentz
2022 Conditional 1st or 2nd **to be determined