Measure the sprockets width and the spacing/pitch between the teeth:
(quote)
Number 35 Chain: Pitch = 3/8" | Roller diameter = 3/16" | Roller width = 3/16" | Pin diameter = 1/8" | Tensile = 2,100
Number 41 Chain: Pitch = 1/2" | Roller diameter = 5/16" | Roller width = 1/4" | Pin diameter = 1/8" | Tensile = 2,000
Number 40 Chain: Pitch = 1/2" | Roller diameter = 5/16" | Roller width = 5/16" | Pin diameter = 5/32" | Tensile = 3,700
Then loosen your motor mount and slide your engine fully back to mesure the distance around both sprockets. Your corect length might (or might not) end up being a link or 2 longer/shorter than this measurement. (this may take some experimenting to find a length that fits but leaves you with plenty of room for future adjustment as the chain stretches and the sprockets wear.
If you want to be sure of just one trip to the store, buy enough for a couple chains plus a chain breaker tool (for your chain size) so you could always build your own chains to the perfect length yourself anytime you need to.