Timecode-like frame counter

Hey all, trying to figure out how to get a way to count frames and display the result in a text clip.

TIA