Documentation for this module may be created at Module:Sandbox/GoldenRing/doc

local p = {}
function p.CPCount(frame)
  local title = mw.title.new("Wikipedia:Copyright problems")
  local text = title:getContent()
  text = frame:preprocess(text)
  local temp, count = mw.ustring.gsub(text, "\n *\\*[^*]", '%0')
  return count
end
return p