how many basketball teams did allen crabbe play for?
Value
2
class class entity
basketball.basketball_team sports.sports_team_roster m.0j4bdnw
basketball.basketball_team sports.sports_team_roster sports.drafted_athlete
Basketball Team Sports team roster Allen Crabbe
count none none
sports.sports_team.roster sports.sports_team_roster.player
Roster Player
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 :basketball.basketball_team . 
?x1 :type.object.type :sports.sports_team_roster . 
VALUES ?x2 { :m.0j4bdnw } 
?x0 :sports.sports_team.roster ?x1 . 
?x1 :sports.sports_team_roster.player ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(COUNT (AND basketball.basketball_team (JOIN sports.sports_team.roster (JOIN sports.sports_team_roster.player m.0j4bdnw))))