How many {filming location} are for {Lawrence of Arabia} ?
In the movie Lawrence of Arabia, how many filming locations are there?
How many filming locations are in the movie Lawrance of Arabia?
SELECT ( COUNT ( ?q ) AS ?x ) { resource:Lawrence_of_Arabia property:filming_location ?q }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q228186> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P915> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q228186 wdt:P915 ?obj }
4