def get_events_counts(bpmn_graph):
return {event_type: get_nodes_count(bpmn_graph, node_type=event_type)<EOL>for event_type in EVENT_TYPES}<EOL>
Returns the count of the different types of event elements
in the BPMNDiagramGraph instance.

:param bpmn_graph: an instance of BpmnDiagramGraph representing BPMN model.
:return: count of the different types of event elements in the BPMNDiagramGraph instance