how many forms of governments exist in people's republic of benin?
Value
3
class entity
government.form_of_government m.0fsfyj
government.form_of_government location.country
Form of Government People's Republic of Benin
count none
government.form_of_government.countries
Countries
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 :government.form_of_government . 
VALUES ?x1 { :m.0fsfyj } 
?x0 :government.form_of_government.countries ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND government.form_of_government (JOIN government.form_of_government.countries m.0fsfyj)))