added counter that kept track of missed clicks and total number of images appeared