How to auto-insert a sequence number in a Webform?
There is a module for this: Webform Serial number:
https://drupal.org/project/webform_serial


  This module provides an auto-incrementing number field for webforms.