public function register_plugin_ajax()
 {
     $result = array();
     $result['status'] = 'success';
     $total = 0;
     foreach (ESSBSocialFansCounterUtils::enabled_socials() as $social) {
         $count = ESSBSocialFansCounterUtils::fans_count($social, false);
         $result['social'][$social]['count'] = $count;
         $result['social'][$social]['count_formated'] = ESSBSocialFansCounterUtils::format_count($count);
         $total += $count;
         $result['social']['total']['count'] = $total;
         $result['social']['total']['count_formated'] = ESSBSocialFansCounterUtils::format_count($total);
     }
     echo json_encode($result);
     exit;
 }
          <div class="clearfix"></div>
          <small class="<?php 
    echo $total_css_text_color_class;
    ?>
"><?php 
    _e($fans_total_text, ESSB3_TEXT_DOMAIN);
    ?>
</small>
        </div>
      </div>
    </div>
<?php 
}
?>
  <?php 
if (count(ESSBSocialFansCounterUtils::enabled_socials()) > 0 && $show_total && $show_numbers && $total_type == 'text' && $total_text_pos == 'bottom') {
    ?>
    <div  class="<?php 
    echo $css_total;
    ?>
" data-social="total">
      <div class="essbfc-front essbfc-total-astext">
          <span class="essbfc-total-astext-number"><?php 
    echo $fans_total;
    ?>
</span>
          <small class="essbfc-total-astext-text"><?php 
    _e($fans_total_text, ESSB3_TEXT_DOMAIN);
    ?>
</small>
        </div>