Simple actionscript question

Hey you guys,
I have a question:
I want to create a game in which you should find 100 diamonds. Every time you find a diamond, it enters to the inventory and the numbers of founded diamonds is updated on the screen.
How do I update the number on the screen?
On Adobe Flash ofcourse
thank you very much for your answers