the api of www.php.net has how many protocols?
Value
2
class class entity
internet.protocol internet.api m.0n296q2
internet.protocol internet.api internet.website
Protocol API www.php.net
count none none
internet.api.protocols internet.api.site
Protocols Site
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :internet.protocol . 
?x1 :type.object.type :internet.api . 
VALUES ?x2 { :m.0n296q2 } 
?x1 :internet.api.protocols ?x0 . 
?x1 :internet.api.site ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(COUNT (AND internet.protocol (JOIN (R internet.api.protocols) (JOIN internet.api.site m.0n296q2))))