lib/redi_search_rails.rb
def ft_suglen (attribute:)
      key = "#{@model}:#{attribute}"
      REDI_SEARCH.call('FT.SUGLEN', key)
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
def ft_suglen (attribute:)
      key = "#{@model}:#{attribute}"
      REDI_SEARCH.call('FT.SUGLEN', key)
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
size of dictionary

 @param attribute [String]
 @return [Integer] - number of possible suggestions