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:
Jamie Bates (footballer)
Table title:
Career 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 class="highlighted"  colspan=1 rowspan=15 > Brentford </td><td colspan=1 rowspan=1 > 1985–86 </td><td colspan=1 rowspan=7 > Third Division </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 > 1986–87 </td><td colspan=1 rowspan=1 > 24 </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=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 27 </td><td colspan=1 rowspan=1 > 1 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1987–88 </td><td colspan=1 rowspan=1 > 23 </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 > 1 </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 > 26 </td><td colspan=1 rowspan=1 > 1 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1988–89 </td><td colspan=1 rowspan=1 > 36 </td><td colspan=1 rowspan=1 > 1 </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 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 43 </td><td colspan=1 rowspan=1 > 1 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1989–90 </td><td colspan=1 rowspan=1 > 15 </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><td colspan=1 rowspan=1 > 21 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1990–91 </td><td colspan=1 rowspan=1 > 32 </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 > 4 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 42 </td><td colspan=1 rowspan=1 > 3 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1991–92 </td><td colspan=1 rowspan=1 > 42 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 5 </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 > 52 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1992–93 </td><td colspan=1 rowspan=1 > First Division </td><td colspan=1 rowspan=1 > 24 </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 > 4 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 35 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1993–94 </td><td colspan=1 rowspan=5 > Second Division </td><td colspan=1 rowspan=1 > 45 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 2 </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 > 52 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1994–95 </td><td colspan=1 rowspan=1 > 38 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 1 </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 > 4 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 45 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1995–96 </td><td colspan=1 rowspan=1 > 36 </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 5 </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 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 47 </td><td colspan=1 rowspan=1 > 4 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1996–97 </td><td colspan=1 rowspan=1 > 37 </td><td colspan=1 rowspan=1 > 2 </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 > 6 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 50 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1997–98 </td><td colspan=1 rowspan=1 > 40 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 2 </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 > 1 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1998–99 </td><td colspan=1 rowspan=1 > Third Division </td><td colspan=1 rowspan=1 > 27 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 36 </td><td colspan=1 rowspan=1 > 3 </td></tr>
<tr> <th colspan=2 rowspan=1 > Total </th><th colspan=1 rowspan=1 > 419 </th><th colspan=1 rowspan=1 > 18 </th><th colspan=1 rowspan=1 > 21 </th><th colspan=1 rowspan=1 > 2 </th><th colspan=1 rowspan=1 > 40 </th><th colspan=1 rowspan=1 > 3 </th><th colspan=1 rowspan=1 > 43 </th><th colspan=1 rowspan=1 > 1 </th><th class="highlighted"  colspan=1 rowspan=1 > 526 </th><th class="highlighted"  colspan=1 rowspan=1 > 24 </th></tr>
<tr> <td colspan=1 rowspan=1 > Wycombe Wanderers (loan) </td><td colspan=1 rowspan=1 > 1986–87 </td><td colspan=1 rowspan=1 > Isthmian League Premier Division </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 > 1 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=4 > Wycombe Wanderers </td><td colspan=1 rowspan=1 > 1998–99 </td><td colspan=1 rowspan=3 > Second Division </td><td colspan=1 rowspan=1 > 9 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=2 rowspan=1 > — </td><td colspan=1 rowspan=1 > 9 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1999–00 </td><td colspan=1 rowspan=1 > 32 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 5 </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 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 41 </td><td colspan=1 rowspan=1 > 1 </td></tr>
<tr> <td colspan=1 rowspan=1 > 2000–01 </td><td colspan=1 rowspan=1 > 39 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 51 </td><td colspan=1 rowspan=1 > 6 </td></tr>
<tr> <th colspan=2 rowspan=1 > Wycombe Wanderers total </th><th colspan=1 rowspan=1 > 80 </th><th colspan=1 rowspan=1 > 4 </th><th colspan=1 rowspan=1 > 12 </th><th colspan=1 rowspan=1 > 2 </th><th colspan=1 rowspan=1 > 8 </th><th colspan=1 rowspan=1 > 1 </th><th colspan=1 rowspan=1 > 1 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 101 </th><th colspan=1 rowspan=1 > 7 </th></tr>
<tr> <th colspan=3 rowspan=1 > Career total </th><th colspan=1 rowspan=1 > 500 </th><th colspan=1 rowspan=1 > 22 </th><th colspan=1 rowspan=1 > 33 </th><th colspan=1 rowspan=1 > 4 </th><th colspan=1 rowspan=1 > 48 </th><th colspan=1 rowspan=1 > 4 </th><th colspan=1 rowspan=1 > 44 </th><th colspan=1 rowspan=1 > 1 </th><th colspan=1 rowspan=1 > 625 </th><th colspan=1 rowspan=1 > 31 </th></tr>
</table>
Question:
How many appearances did Jamie Bates make for Brentford, and how many goals did he score for the club?
Answer:
Jamie Bates made 526 appearances and scored 24 goals for Brentford.