# File tokyotyrant.rb, line 1402 def searchcount() args = @args.dup args.push("count") @hint = "" rv = @rdb.misc("search", args, RDB::MONOULOG) return 0 if !rv _popmeta(rv) return rv.size > 0 ? rv[0].to_i : 0 end