Automatic text numbering

Hi 

Quick question... Is there any command to do automatic text numbering like TCOUNT in AUTOCAD.

 

Thanks and regards