It’s under:
Effect > Text > Numbers
Just apply it to a solid. In the effect controls, set the ‘Type’ to number, then keyframe the ‘Value/Offset/Random’ number. But this only goes up to 30,000, so you’ll need to do some kinda layer duplication to get the effect you need.
or….(much better)….
Create a new empty text layer (double-click the text T icon).
Add a slider control to it (Effect > Expression controls > slider). Click the twirly arrow to show the Slider Control in the Effects part of the timeline.
Open the Text twirly arrow to reveal the Source Text keyframe stopwatch. Option-click it to apply an expression. Pickwhip from the Source Text to the Slider you’ve just created.
You can now keyframe the slider, and the text will show the amount. But you can only make your slider go up to 1 million, so if you edit the expression in the source text from:
effect(“Slider Control”)(“Slider”)
to
effect(“Slider Control”)(“Slider”)*1000
you can then set your slider to 307006.55 to make the number display your gargantuan 307006550. It won’t have the commas, though. To display “1”, you’ll have to set your slider to 0.001.
Make sure you use a monospaced font – it will look much better when animating up/down.
– Paul