Trailmakingtask: NameError: name 'loopCounter' is not defined

I just downloaded TrailmakingTask but I was enable to run because of the following error:
NameError: name ‘loopCounter’ is not defined
Somnone could help me to solve the problem?
thanks
Salvo

Put loopCounter=0 in a Begin Experiment code component