There are several different lengths of tailshaft throughout these cars. Auto and manual tailshafts from the same series car are also different. KE3x and 5x are interchangable as long as they have the same type of differential, all others need the tailshaft from the same series vehicle.
Some KE70s have a two piece tailshaft, mostly Australian-spec sedans, wagons and alot of 70s in New Zealand have one-piece units, apparently there are about 6 different types! All the earlier Corollas have one piece shafts.
All pinions on Japanese tailshafts are interchangable.