High guys I just got the car today and noticed that my speedometer doesn’t work, it kind of dangles at the bottom, and sometimes doesn’t.
And it works properly for a few second sometimes.
I’m guessing that it’s the speed sensor on the transmission.

What do you guys think? I’m surprised that it’s like this, its and 2005 Mazda 3.
Has this happen to anyone? And how much did it cost to fix?