added code to read Statistic counters, sample app on event handler.