I would solve this with a post process.
As you can see within the inspector of the profile brick, there is an option called 'Post process'. Here you can insert the path to a batch file.
Within this post process I would increase a counter each time when the batch file will be processed, in our case each time when we build the Embedded Wizard project. Technically each Embedded Wizard .ewu files is read and writable with any kind of editor, also by a batch process (BTW, you also can call a PowerShell Script with an batch process).
As next, I would create a Embedded Wizard Variable within the application to make it accessible for the designer before you build the project. As you can see in the picture below, this variable is simply a text line in the related .ewu file. Just let increase the number in that line by the post process.
This variable you can use a usual within your UI project.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!