Engines being roughly the same HP, vertical / horizontal, I'd suspect the shafts to likely be the same.
Worse case scenario, just replace the pulley(s) independently.
You can also yank the old pulley and measure that before springing for a new engine
(have a plan in place)..
.