change the "getMonitorEventsCount" method name and fix when tabs1 doesn't exsit , show all the events.
Generated