Timer goes up

Hi, I’ve been searching this site for a while trying to find what I want but still can’t find the answer.

Basically, what i would like is start a timer on frame 2, timer goes up, and it stops when my hero hittests an enemy.

So, I dont want it to countdown, instead it would count up every second.

Any links or code would be very helpful.
Thanks.