public function renderButton()
{
$setting = $this->getDefaultSetting();
$label = empty($this->label) ? ArrayHelper::remove($setting, 'label', '') : $this->label;
if (!$this->showCount) {
unset($setting['data-count-api'], $setting['data-count-href']);
}
$setting += $this->settings + $this->options;
return Html::tag('a', $label, $setting);
}