Can you mark a tooth and slowly wrench the engine over to count the teeth on the flywheel? eBay and some tractor sites call out the same starter for both diesel and gas engines. The New Holland parts site will give you the part number you need for a gas tractor.
I pulled the starter and it is a 3139N. That is the number that pulls up for the diesel engine. Mine is a gas engine so I have the wrong starter. The correct part number for the gas engine is D7NN11001A. Both starters show to have a ten tooth pinion which makes no sense to me. I did trace the tooth pattern on the ring gear and also measured the gear on the starter. The ring gear pitch is about.2" at the bottom of the cut and the pitch on the outside of the pinion is .3". I called my starter rebuilder and he says that he has never seen anything other than a 10 tooth pinion on the old Ford starters. So, logic says that there must be a slight offset on the gas starter frame to move the pinion further away from the gear so that the teeth can mesh.
I can't for the life of me understand why the gas starter doesn't have 12 or 13 teeth on it. I went ahead and ordered a starter from Yesterdays Tractor. I tried to call but after being on hold for a half hour (on my dime) I hung up. If it doesn't work, I'll return it.