XSLT » xsl:number » from="pattern"

The optional from attribute specifies a starting point from which the sequential counting will start. The nodes are matched to the pattern to find the starting point.