# Count total number of correct answers

**URL:** <https://cl.desmos.com/t/count-total-number-of-correct-answers/3434>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [June 1, 2021, 5:18pm UTC](https://cl.desmos.com/t/count-total-number-of-correct-answers/3434 "2021-06-01T17:18:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rachel\_Madrid](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/rachel_madrid/32/2770_2.png) [@Rachel\_Madrid](https://cl.desmos.com/u/Rachel_Madrid)\
**Post date:** [June 1, 2021, 5:18pm UTC](https://cl.desmos.com/t/count-total-number-of-correct-answers/3434/1 "2021-06-01T17:18:10Z")

</div>

I know this has been asked a few times but I still haven’t been able to figure it out. How do I put a total number of correct answers on either each slide or just the final slide? I am telling students to keep going until they get all answers correct for their factoring practice. However, some students are still skipping an occasional slide and not realizing it. Can I put a total number of correct answers for the activity on a final slide somehow. This way they would know if they didn’t get the total “20/20” correct, they need to go back and check their previous slides. Any help is appreciated.

> **[Mixed Factoring Practice • Activity by Rachel Madrid](https://classroom.amplify.com/activity/60b64ac04213a2476dbd03ca)**
>
> Mixed Factoring Practice: Self Checking

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [June 1, 2021, 5:47pm UTC](https://cl.desmos.com/t/count-total-number-of-correct-answers/3434/2 "2021-06-01T17:47:18Z")

</div>

Since you have a “correct” variable in each input, you could also set a “score” along with it:

```auto
score=when correct 1 otherwise 0

```

then in a final slide (which you could still reference in notes or subtitles on any other slide):

```auto
total= numericValue(`${input3.script.score}+${input4.script.score}+${input4.script.score}+...etc.`)

```

---

<div class="post-metadata">

**Author:** ![Rachel\_Madrid](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/rachel_madrid/32/2770_2.png) [@Rachel\_Madrid](https://cl.desmos.com/u/Rachel_Madrid)\
**Post date:** [June 1, 2021, 7:44pm UTC](https://cl.desmos.com/t/count-total-number-of-correct-answers/3434/3 "2021-06-01T19:44:49Z")

</div>

That worked. Thank you so much!!
