Maybe start with the FreqCount library. It's automatically installed, so in Arduino IDE click File > Examples > FreqCount to get going quickly. Of course you can dive into the source code if you really want to get into the details of how it...
I was excitged to see a larger display but just throwing a link over that wall to a drawing is not useful to most of us.
1. are the libraries to drive this display?
2. is there a recommended / required communication path between Teensy and RPI...