You would put something like this in the script of the page where you want to reveal the number of special items found.
IF $ITEMSTATE01 = 1 THEN %SPCLITMS := %SPCLITMS + 1
IF $ITEMSTATE02 = 1 THEN %SPCLITMS := %SPCLITMS + 1
IF $ITEMSTATE03 = 1 THEN %SPCLITMS := %SPCLITMS + 1
$ITEMSTATE has the $ in front because it is a system variable, as opposed to a user created variable. You need to have scrips turned on. You also need to create the %SPCLITMS variable. Note, the numbers behind $ITEMSTATE are going to be the ID numbers of the special items.