Question: how long does it take to clear customs in tokyo?
Answer: It should take about an hour to clear customs and collect luggage. Trains run early enough so you can get there on time. http://www.hyperdia.com/ for train schedules. For me personally on all my trips into Japan, no longer then 30minutes.