Views Exposed form in block : how to add a ajax results counter?
Create a folder structure as sites/all/themes/example_theme/templates/views 


2.Create a file named views-exposed-form.vars where you use MYTHEME_preprocess_views_exposed_form. Code snippet below:

function example_theme_preprocess_views_exposed_form(&amp;$vars){
  if($vars['form']['#id'] == 'views-exposed-form-exaample-page') {
    $views_rows = views_get_view_result('my_custom_view', 'page');
$count_rows = count($views_rows);
   $vars['count'] = $count_rows;
  }

}



Then you can override the exposed filter tpl. To override the
exposed form template for a particular view, you need to create a
template in the following name pattern,

views-exposed-form--view_name.tpl.php

and print the $count variable wherever you want to place the count.
Once you add the template clear the cache.