3 pieces, unhook it from the transmission and spin the cable inside, have a friend watch the speedo (it shouldn't move) take that first section by the tranny off the cable and spin the next piece to see if the speedo moves, then remove that piece, then spin the last piece (the long $100 piece) that goes from under the car to the speedo. That should let you know which piece is busted. That's what I did 2 weeks ago and it turned out I only needed the $7 1 foot long piece (I think it lists for like $13 or something)
Don't buy the $100 cable if you don't need it. The short piece at the end only took me like 3 or 4 minutes to swap out. Piece of Cake! good luck!