How many {collection} are for {Philadelphia Museum of Art} ?
Number of pieces in the Philadelphia Museum of Art
How much is in the collection of the Philadelphia Museum of Art?
SELECT ( COUNT ( ?l ) AS ?s ) { resource:Philadelphia_Museum_of_Art property:collection ?l }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q510324> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P195> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q510324 wdt:P195 ?obj }
0