solves mismatching type to read EventCounter
Merge pull request #90 from jhgoh/7_X_Y

Event counter problem fix