APMAS-115
Node Agent - Event Loop collection

fix bug that event count is always one