Module:TestCounter

local p = {} i = 0

function p.main i = i + 1 mw.logObject(i) return i end

return p