No, the top item is for reusing the original speedo drive, which you cannot. You need a speed sensor (like the approach I described for reading the revolutions from the front drive sprocket). Option two is your path forward.
You then need to design/determine how to affix the sensor opposite of the sprocket if you desire to use the sprocket bolt as the counter.
I took the shift cover off my 550, welded a thin piece of sheet metal parallel to the chain line. Drilled a small hole in that metal, passed the sensor through so that it would be suspended 4mm outboard of the sprocket. I then ran the wiring forward and up/out along the Stator wiring and finally up to the gauge. Sorry, I don’t have pictures, but if you sit in front of your bike, it should become clear.
If you can’t locate 6mm bolts with a magnetic head (I’ve seen them sold at places like Cognito, Revival Cycles, etc) then simply epoxy a small magnet to the head of whatever you’re using for a sprocket bolt. Just space the sensor away accordingly.