added a counter for number of clicks during a test