how many compilations of video games did sega of japan develop?
Value
5
class entity
cvg.computer_game_compilation m.06p8m
cvg.computer_game_compilation cvg.cvg_developer
Video Game Compilation sega of japan
count none
cvg.cvg_developer.games_developed
Games Developed
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 :cvg.computer_game_compilation . 
VALUES ?x1 { :m.06p8m } 
?x1 :cvg.cvg_developer.games_developed ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND cvg.computer_game_compilation (JOIN (R cvg.cvg_developer.games_developed) m.06p8m)))