I'm guessing that you studied something called collision detection in that chapter, so the simple solution would be to add one to your counter if the ring is within a certain distance of the cone when it lands. I guess the distance would be up to you, as well as the speed of the drop.