Minor updates

1. function on both events.cs to access .Count
2. Remove old useless codes(DECIDE)