* @param metadata the event's metadata
*/
private void handleObjectCounts(String id, Long timestamp, EventId eventId, String accountId, String userId,
String targetId, String targetType, Map<String, Object> metadata) {
Float eventValue = getEventValue(eventId);
MetricName metricName = getEventMetricName(eventId, targetType);
// Nothing we can do if we cannot figure out the event type or there is no value
if (Float.isNaN(eventValue) || metricName == null) {
LOGGER.debug("Unable to calculate built-in metrics: (eventValue=" + eventValue +
", metricName=" + metricName + ")");