code: @EventBusListenerMethod(scope = EventScope.UI)
      public void onEvent(final ManagementUIEvent event) {
          if (event == ManagementUIEvent.TARGET_TABLE_FILTER || event == ManagementUIEvent.SHOW_COUNT_MESSAGE) {
              displayTargetCountStatus();
          }
      }
docs: TenantAwareEvent Listener to show the message count.
  
  @param event
  ManagementUIEvent which describes the action to execute