OR
Give me all the items with mathemtical formulae along with their types.
SELECT ?type ?typeLabel (count(?item) as ?count){
?item (wdt:P31|wdt:P279) ?type;
wdt:P2534 [].
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?type ?typeLabel
ORDER by DESC(?count)