I am currently designing a MediaLab-based study. The study is that participants are asked to write in an essay box while inhibit thinking of a white bear (whenever they fail to do so, they need to click a button).

To do so, I need to have a button that counts all the button clicks and an essay box. However, I don't know how to do this using custom items.

Could someone help me with this?

Thanks a lot!