That depends.

If the car has been well maintained (receipts/repairs/history) then the number of previous owners doesn't matter much. But if you're getting one without a history, it would definitely matter.

FWIW, our ae92 Corolla had 4 or 5 owners and we got this car back in 2002 or 2003 yata. It has 222k miles on it and still runs. Then again the 81 300TD we had was sold with 372k miles and was a 2 owner car (first owner, tapos kami). No history/records/receipts and with the high mileage, it is still in demand. First two days we posted this on Craigslist, 5 kaagad yung tumawag.