Most likely it’s the little gears that failed.
Oh my bad I read it wrong originally. Have you (or someone else swapped out your rear end gears at some point). A lot of people swap out the speedo gear in the cluster to compensate. However the new gear doesn't mesh right, this stripping the gear out.No the odometer is not working
The speedo is working though