Module:CountRows
Appearance
Documentation for this module may be created at Module:CountRows/doc
local p = {}
function p.count(frame)
local args = frame:getParent().args
local count = 0
for k, v in pairs(args) do
if type(k) == "number" and v ~= "" and v ~= nil then
count = count + 1
end
end
return count
end
return p