Generators::getDeviceEventsCount

Gets events count for device