lib/redi_search_rails.rb
def ft_search_count(args)
      ft_search(args).first
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
def ft_search_count(args)
      ft_search(args).first
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
number of records found for keywords

 @param keyword [Hash]  keyword that gets passed to ft_search
 @return [Integer]   number of results matching the search