You can't compare r100s or rx2s rx3s rx4s to early corollas. For example Mazda only made 90,000 r100s worldwide compared to approx 500,000 KE1#'s worldwide
Toyota made shitloads of KE1# KE2# and don't get started on KE3#s.
You couldnt even compare the corollas to the piston powered Mazda's such as the 1200, 1300, 808 929 etc,
Toyota was much more experienced in building cars by the late 60s early 70s then Mazda, as Toyota has a longer history then Mazda at building cars, hence the build quality in my eyes was better by Toyota.
Corollas don't fetch much (here anyway, japan another story as they got the TE models) because we got the base grade models, same as the Mazda's, but the rotary is what made the Mazda's popular and now valuable.