instruction: What is the number of movies in which ' Tom Cruise ' acted ?
response: SELECT COUNT(DISTINCT (movie.title)) FROM actor, cast, movie WHERE actor.name = 'Tom Cruise' AND cast.aid = actor.aid AND movie.mid = cast.msid