(ID help) 18 or 23 spline?

And the front has been bobbed to fit into an unmachined crank;no biggie just run the BB pilot bearing.

There are 4 ratios available in that box,including the overdrive box. And 3 retainer sizes. Each one has a specific application.
That one looks like an overdrive retainer. Buyer beware