Module:Infobox

local p = {} function p.rowCount(frame) local count = 0 for k, v in pairs(frame:getParent.args) do       if string.sub(k, 1, 4) == 'data' then count = count + 1 end end return count end return p