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:
David Martin (footballer, born 1986)
Table title:
Club statistics
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=2 > Club </th><th colspan=1 rowspan=2 > Season </th><th colspan=3 rowspan=1 > League </th><th colspan=2 rowspan=1 > FA Cup </th><th colspan=2 rowspan=1 > League Cup </th><th colspan=2 rowspan=1 > Other </th><th colspan=2 rowspan=1 > Total </th></tr>
<tr> <th colspan=1 rowspan=1 > Division </th><th colspan=1 rowspan=1 > Apps </th><th colspan=1 rowspan=1 > Goals </th><th colspan=1 rowspan=1 > Apps </th><th colspan=1 rowspan=1 > Goals </th><th colspan=1 rowspan=1 > Apps </th><th colspan=1 rowspan=1 > Goals </th><th colspan=1 rowspan=1 > Apps </th><th colspan=1 rowspan=1 > Goals </th><th colspan=1 rowspan=1 > Apps </th><th colspan=1 rowspan=1 > Goals </th></tr>
<tr> <td colspan=1 rowspan=2 > Wimbledon </td><td colspan=1 rowspan=1 > 2003–04 </td><td colspan=1 rowspan=1 > Division 1 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=2 rowspan=1 > — </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <th colspan=2 rowspan=1 > Total </th><th colspan=1 rowspan=1 > 2 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=2 rowspan=1 > — </th><th colspan=1 rowspan=1 > 2 </th><th colspan=1 rowspan=1 > 0 </th></tr>
<tr> <td colspan=1 rowspan=6 > Liverpool </td><td colspan=1 rowspan=1 > 2005–06 </td><td colspan=1 rowspan=1 > Premier League </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2006–07 </td><td colspan=1 rowspan=1 > Premier League </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2007–08 </td><td colspan=1 rowspan=1 > Premier League </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2008–09 </td><td colspan=1 rowspan=1 > Premier League </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2009–10 </td><td colspan=1 rowspan=1 > Premier League </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <th colspan=2 rowspan=1 > Total </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th></tr>
<tr> <td colspan=1 rowspan=1 > Accrington Stanley (loan) </td><td colspan=1 rowspan=1 > 2006–07 </td><td colspan=1 rowspan=1 > League Two </td><td colspan=1 rowspan=1 > 10 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 10 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > Leicester City (loan) </td><td colspan=1 rowspan=1 > 2008–09 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 25 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 30 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > Tranmere Rovers (loan) </td><td colspan=1 rowspan=1 > 2009–10 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > Leeds United (loan) </td><td colspan=1 rowspan=1 > 2009–10 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=2 > Derby County (loan) </td><td colspan=1 rowspan=1 > 2009–10 </td><td colspan=1 rowspan=1 > Championship </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=2 rowspan=1 > — </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <th colspan=2 rowspan=1 > Total </th><th colspan=1 rowspan=1 > 40 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 3 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 2 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 1 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 46 </th><th colspan=1 rowspan=1 > 0 </th></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=10 > Milton Keynes Dons </td><td class="highlighted"  colspan=1 rowspan=1 > 2004–05 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 15 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 20 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2005–06 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2010–11 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 43 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 51 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2011–12 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 46 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 56 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2012–13 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 31 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 41 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2013–14 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 40 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 43 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2014–15 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 39 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 47 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2015–16 </td><td colspan=1 rowspan=1 > Championship </td><td colspan=1 rowspan=1 > 35 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=2 rowspan=1 > — </td><td colspan=1 rowspan=1 > 38 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 2016–17 </td><td colspan=1 rowspan=1 > League One </td><td colspan=1 rowspan=1 > 40 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 40 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <th colspan=2 rowspan=1 > Total </th><th colspan=1 rowspan=1 > 289 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 24 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 14 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 12 </th><th colspan=1 rowspan=1 > 0 </th><th class="highlighted"  colspan=1 rowspan=1 > 339 </th><th colspan=1 rowspan=1 > 0 </th></tr>
<tr> <td colspan=1 rowspan=3 > Millwall </td><td colspan=1 rowspan=1 > 2017–18 </td><td colspan=1 rowspan=1 > Championship </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=2 rowspan=1 > — </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2018–19 </td><td colspan=1 rowspan=1 > Championship </td><td colspan=1 rowspan=1 > 9 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=2 rowspan=1 > — </td><td colspan=1 rowspan=1 > 10 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <th colspan=2 rowspan=1 > Total </th><th colspan=1 rowspan=1 > 10 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 4 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=2 rowspan=1 > — </th><th colspan=1 rowspan=1 > 14 </th><th colspan=1 rowspan=1 > 0 </th></tr>
<tr> <th colspan=3 rowspan=1 > Career totals </th><th colspan=1 rowspan=1 > 341 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 31 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 16 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 13 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 401 </th><th colspan=1 rowspan=1 > 0 </th></tr>
</table>
Question:
How many total seasons and appearances did David Martin rack up before leaving Milton Keynes Dons?
Answer:
In 2017, after nine seasons and 339 appearances for the club, Martin left MK Dons.