local p =
-- #statements don't support selecting based on a qualifier, so this is needed.local entity = mw.wikibase.getEntity("Q6120110")for _, statement in pairs(entity:getBestStatements("students count")) do if statement["qualifiers"]["P518"]
"Q21094885" then p._undergradCount = tonumber(statement["mainsnak"]["datavalue"]["value"]["amount"]) elseif statement["qualifiers"]["P518"][1]["datavalue"]["value"]["id"]
function p.studentCount return p._studentCountend
function p.undergradCount return p._undergradCountend
function p.gradCount return p._gradCountend
return p