Fixed duplication of results counter for ajax calls