Do you mean if you have 49 potions and 1 stimulant, the result would be 50? or do you mean 50 different types of items? < .<
If you mean the former, use this scriptlet:
class Game_Party
def item_total
n = 0
for i in @items.values+@weapons.values+@armors.values
n += i
end
return n
end
end
class Game_interpreter
def item_total
return $game_party.item_total
end
end
To use in a conditional branch, just use:
Coditional Branch: Script: item_total >= 50
If you meant types of items, $game_party.items.size is what you'd use.