Database: imdb
Question: How many movies did " Quentin Tarantino " direct before 2002 and after 2010 ?
SQL: select count ( distinct t4.title  ) from director as t3 join directed_by as t2 on t3.did  =  t2.did join movie as t4 on t4.mid  =  t2.msid join made_by as t5 on t4.mid  =  t5.msid join producer as t1 on t1.pid  =  t5.pid where t3.name  =  "quentin tarantino" and t4.release_year  <  2010 and t4.release_year  >  2002;