function getListenerCount(control) {
  return control.googUiComponentHandler_ ?
      googObject.getCount(control.getHandler().keys_) :
      0;
}
Returns the number of event listeners created by the control.
@param {Control} control Control whose event listers are to be counted.
@return {number} Number of event listeners.
@suppress {visibility} suppression added to enable type checking