"Third" is the 4th word in that sentence. Do one of those other words not count or something?
I can sort of see how that could be a machine's interpretation if I squint really hard
https://twitter.com/DeanBuono/status/1636203814419308544
Feels a bit too consistent of a mistake.
Q: which word occurs third in this sentence?
A: The word "occurs" is the third word in the sentence "which word occurs third in this sentence?"