"Auto Track" feature gives you the opportunity to automatically write track numbers. To use this tool check tracks in the list, select menu item "Tools"->"Auto Track...". You will see a window, in which you should set start value, check options and click the 'Start' button.