G'day Frederik,
Thanks for the info you posted here. I'm a novice in InfoPath and SharePoint, your information helped a lot.
However, I am unable to work out how to set up the condition in the rule to make the first submitted form to 1 instead of NaN.
I have set the condition [@ID] is blank, and the other rule with ...