Module:ListCategories

local p = {} function p.main( frame ) local category = frame.args[1] local which = frame.args[2] return mw.site.stats.pagesInCategory(category or 'Fundamental', which) end return p