That example uses an Info Card. The text in the Info Card is:
There is a variable in the scenario called “Questions Answered” that I initialize to zero, and increment each time the user answers a question. The “%” nomenclature in the text is variable substitution, where whatever the value of the variable is gets updated in the text in real time.
The whole subject is covered here, for exactly that scenario: