what is the number of aircraft manufacturer in the legal structure of s.a.?
Value
2
class entity
aviation.aircraft_manufacturer m.015k50
aviation.aircraft_manufacturer business.company_type
Aircraft manufacturer S.A.
count none
organization.organization.legal_structure
Legal structure
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 :aviation.aircraft_manufacturer . 
VALUES ?x1 { :m.015k50 } 
?x0 :organization.organization.legal_structure ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND aviation.aircraft_manufacturer (JOIN organization.organization.legal_structure m.015k50)))