add function to get current event count
added rate and error rate reporting to stats