Be aware the crankshaft speed changes considerably over each rotation, so using a single trigger point can introduce surprisingly large errors, especially during acceleration. This is the primary reason that modern engines sensor crank position at multiple points e.g. 36 or 60 are common.
I realise that and it is why I will also have one just before TDC for starting.
That will give me 4 points, detect then un-detect at about 40 degrees before to give me a rev figure and detect around 10 before then un-detect at 4 before (possibly a different hall effect sensor). Consecutive detects on the same sensor to give me a check figure for revs compared to the detect un-detect at 40 before to give me rotational speed variation, 4 before is the static timing of the standard ignition points open. Old motor bike.
I had considered using the starter ring gear and also considered using a knock sensor, both of which are possible and not really hard but I do not want to make any changes to the basic bike in a way that is not entirely reversible as it will affect the value of the bike if it cannot be made original retrospectively.