Count times user click button

I would want to design a bot that can count how many times a user click on the button. The idea is that the bot will ask the user a couple of questions. The answer will be just a correct or incorrect My thought is to assign two buttons that using slots. However, this will have a problem that how can I write a count variable to calculate the number of times click on the button?

utter_know_test1:
  - text: "blablabla is this correct? "
    buttons:
    - title: "correct"
      payload: '/choose{"answer": "correct"}'
    - title: "incorrect"
      payload: '/choose{"answer": "incorrect"}'
utter_know_test2:
  - text: "blablablablablabla is this correct? "
    buttons:
    - title: "correct"
      payload: '/choose{"answer": "correct"}'
    - title: "incorrect"
      payload: '/choose{"answer": "incorrect"}'

My approach would be to create a slot hold the count. Let’s say “correct_count”. I also create custom action called ActionCounter or something where you Set Slot value of correct_count depends on what user says. Or you can create ActionIncrementCount and ActionDecrementCount so that you don’t have to check what user said in action. Then in story, everytime user click that, you add those action right below it.

Thank you. I solved this problem using your suggestion.