Add a variable to keep score.
Add a point each time the sprite is clicked:
Use set score to 0 to reset the score at the beginning of your program:
Your scripts will look something like this:
Click the green flag to start your game.