Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
Leonardo DiCaprio filmography
Table title:
As actor
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Title </th><th colspan=1 rowspan=1 > Year </th><th colspan=1 rowspan=1 > Role </th><th colspan=1 rowspan=1 > Director </th><th colspan=1 rowspan=1 > Notes </th><th colspan=1 rowspan=1 > Ref(s) </th></tr>
<tr> <th colspan=1 rowspan=1 > This Boy's Life </th><td colspan=1 rowspan=1 > 1993 </td><td colspan=1 rowspan=1 > Tobias "Toby" Wolff </td><td colspan=1 rowspan=1 > Michael Caton-Jones </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > What's Eating Gilbert Grape </th><td colspan=1 rowspan=1 > 1993 </td><td colspan=1 rowspan=1 > Arnie Grape </td><td colspan=1 rowspan=1 > Lasse Hallström </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Quick and the Dead </th><td colspan=1 rowspan=1 > 1995 </td><td colspan=1 rowspan=1 > Fee "The Kid" Herod </td><td colspan=1 rowspan=1 > Sam Raimi </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Basketball Diaries </th><td colspan=1 rowspan=1 > 1995 </td><td colspan=1 rowspan=1 > Jim Carroll </td><td colspan=1 rowspan=1 > Scott Kalvert </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Total Eclipse </th><td colspan=1 rowspan=1 > 1995 </td><td colspan=1 rowspan=1 > Arthur Rimbaud </td><td colspan=1 rowspan=1 > Agnieszka Holland </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Romeo + Juliet </th><td colspan=1 rowspan=1 > 1996 </td><td colspan=1 rowspan=1 > Romeo Montague </td><td colspan=1 rowspan=1 > Baz Luhrmann </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Marvin's Room </th><td colspan=1 rowspan=1 > 1996 </td><td colspan=1 rowspan=1 > Hank </td><td colspan=1 rowspan=1 > Jerry Zaks </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Titanic </th><td colspan=1 rowspan=1 > 1997 </td><td colspan=1 rowspan=1 > Jack Dawson </td><td colspan=1 rowspan=1 > James Cameron </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Man in the Iron Mask </th><td colspan=1 rowspan=1 > 1998 </td><td colspan=1 rowspan=1 > King Louis XIV / Philippe </td><td colspan=1 rowspan=1 > Randall Wallace </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Celebrity </th><td colspan=1 rowspan=1 > 1998 </td><td colspan=1 rowspan=1 > Brandon Darrow </td><td colspan=1 rowspan=1 > Woody Allen </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Beach </th><td colspan=1 rowspan=1 > 2000 </td><td colspan=1 rowspan=1 > Richard </td><td colspan=1 rowspan=1 > Danny Boyle </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Catch Me If You Can </th><td colspan=1 rowspan=1 > 2002 </td><td colspan=1 rowspan=1 > Frank Abagnale, Jr. </td><td colspan=1 rowspan=1 > Steven Spielberg </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Gangs of New York </th><td colspan=1 rowspan=1 > 2002 </td><td colspan=1 rowspan=1 > Amsterdam Vallon </td><td colspan=1 rowspan=1 > Martin Scorsese </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > The Aviator </th><td class="highlighted"  colspan=1 rowspan=1 > 2004 </td><td colspan=1 rowspan=1 > Howard Hughes </td><td class="highlighted"  colspan=1 rowspan=1 > Martin Scorsese </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=1 > The Departed </th><td class="highlighted"  colspan=1 rowspan=1 > 2006 </td><td colspan=1 rowspan=1 > William "Billy" Costigan </td><td class="highlighted"  colspan=1 rowspan=1 > Martin Scorsese </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Blood Diamond </th><td colspan=1 rowspan=1 > 2006 </td><td colspan=1 rowspan=1 > Danny Archer </td><td colspan=1 rowspan=1 > Edward Zwick </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The 11th Hour </th><td colspan=1 rowspan=1 > 2007 </td><td colspan=1 rowspan=1 > Narrator </td><td colspan=1 rowspan=1 > Nadia Conners Leila Conners Petersen </td><td colspan=1 rowspan=1 > Documentary </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Body of Lies </th><td colspan=1 rowspan=1 > 2008 </td><td colspan=1 rowspan=1 > Roger Ferris </td><td colspan=1 rowspan=1 > Ridley Scott </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Revolutionary Road </th><td colspan=1 rowspan=1 > 2008 </td><td colspan=1 rowspan=1 > Frank Wheeler </td><td colspan=1 rowspan=1 > Sam Mendes </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Shutter Island </th><td colspan=1 rowspan=1 > 2010 </td><td colspan=1 rowspan=1 > Edward "Teddy" Daniels </td><td colspan=1 rowspan=1 > Martin Scorsese </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Hubble </th><td colspan=1 rowspan=1 > 2010 </td><td colspan=1 rowspan=1 > Narrator </td><td colspan=1 rowspan=1 > Toni Myers </td><td colspan=1 rowspan=1 > Documentary </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Inception </th><td colspan=1 rowspan=1 > 2010 </td><td colspan=1 rowspan=1 > Dominick "Dom" Cobb </td><td colspan=1 rowspan=1 > Christopher Nolan </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > J. Edgar </th><td colspan=1 rowspan=1 > 2011 </td><td colspan=1 rowspan=1 > J. Edgar Hoover </td><td colspan=1 rowspan=1 > Clint Eastwood </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Django Unchained </th><td colspan=1 rowspan=1 > 2012 </td><td colspan=1 rowspan=1 > Calvin J. Candie </td><td colspan=1 rowspan=1 > Quentin Tarantino </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Great Gatsby </th><td colspan=1 rowspan=1 > 2013 </td><td colspan=1 rowspan=1 > Jay Gatsby </td><td colspan=1 rowspan=1 > Baz Luhrmann </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Wolf of Wall Street </th><td colspan=1 rowspan=1 > 2013 </td><td colspan=1 rowspan=1 > Jordan Belfort </td><td colspan=1 rowspan=1 > Martin Scorsese </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Audition </th><td colspan=1 rowspan=1 > 2015 </td><td colspan=1 rowspan=1 > Himself </td><td colspan=1 rowspan=1 > Martin Scorsese </td><td colspan=1 rowspan=1 > Short film </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > The Revenant </th><td colspan=1 rowspan=1 > 2015 </td><td colspan=1 rowspan=1 > Hugh Glass </td><td colspan=1 rowspan=1 > Alejandro G. Iñárritu </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Before the Flood </th><td colspan=1 rowspan=1 > 2016 </td><td colspan=1 rowspan=1 > Himself </td><td colspan=1 rowspan=1 > Fisher Stevens </td><td colspan=1 rowspan=1 > Documentary </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Once Upon a Time in Hollywood </th><td colspan=1 rowspan=1 > 2019 </td><td colspan=1 rowspan=1 > Rick Dalton </td><td colspan=1 rowspan=1 > Quentin Tarantino </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > Nightmare Alley </th><td colspan=1 rowspan=1 > 2020 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Guillermo Del Toro </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
Which director over what years has Leonardo DiCaprio appeared in the most films for?
Answer:
Leonardo DiCaprio has appeared in 6 films directed by Martin Scorsese from 2002-2015.