Module:Test

local p = {}

function p.main(frame) local str = frame:callParserFunction{ name = '#dpl', args = { 'category = Mutations', 'notcategory = Removed content', 'namespace = ', 'include = {MutationInfobox}:blueprint_cost', 'format = ,,|,'} } local count = 0 for bp_cost in mw.text.gsplit(str, '|') do		if string.find(bp_cost, '%d') then count = count + 1 end end return count end

return p