How to generate sequence numbers using expression transformation

In the expression transformation, create a variable port and increment it by 1.Then assign the variable port to an output port.In the expression transformation, the ports are.

V_count=V_count+1

O_count=V_count