How do you code a object counter in Mit App Inventor?

And, the same way, you can manage to count number of textbox(s) do you have at run time, using any component. If, that's is your concern.