code: def NOAC_metric(bpmn_graph):
      
  
      activities_count = all_activities_count(bpmn_graph)
      control_flow_count = all_control_flow_elements_count(bpmn_graph)
  
      return activities_count + control_flow_count
docs: Returns the value of the NOAC metric (Number of Activities and control flow elements)
      for the BPMNDiagramGraph instance.
  
      :param bpmn_graph: an instance of BpmnDiagramGraph representing BPMN model.