add number of valid events found to index page, and added logging