Timer
Download a timer like LiveSplit or WSplit and then add it to your layout in whatever software you’re using to capture and stream/record your gameplay (something like OBS or XSplit).
There’s a lot of tutorials out there on both setting up the broadcasting software and timers like LiveSplit if you want to see something in depth.