Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
For each Equip Card equipped to this card, it gains 1 additional attack during each Battle Phase.
--重装武者－ベン・ケイ
--Armed Samurai - Ben Kei
local s,id=GetID()
function s.initial_effect(c)
	--multi attack
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCode(EFFECT_EXTRA_ATTACK)
	e1:SetValue(s.val)
	c:RegisterEffect(e1)
end
function s.val(e,c)
	return c:GetEquipCount()
end