Had a look in the AE86 Manual (online version), and found the following:

This is the speedometer driven gear, and like parrot said, looks like a simple matter to remove as its basically where the speedo hooks up to the gear box.
Page MT-21


This is the speedometer drive gear (different to above, as this is what drives it). From the looks of the picture (exploded version), it apepars it may be on the inside of the case, as parrot guessed:
Page MT-6


Look forward to someone confirming this though! :2thumbs: