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:
Peter Gelson
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 > 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></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=14 > Brentford </td><td colspan=1 rowspan=1 > 1961–62 </td><td colspan=1 rowspan=1 > Third Division </td><td colspan=1 rowspan=1 > 24 </td><td colspan=1 rowspan=1 > 1 </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 > 28 </td><td colspan=1 rowspan=1 > 1 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1962–63 </td><td colspan=1 rowspan=1 > Fourth Division </td><td colspan=1 rowspan=1 > 29 </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 > 31 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1963–64 </td><td colspan=1 rowspan=3 > Third Division </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=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1964–65 </td><td colspan=1 rowspan=1 > 42 </td><td colspan=1 rowspan=1 > 1 </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 > 46 </td><td colspan=1 rowspan=1 > 1 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1965–66 </td><td colspan=1 rowspan=1 > 34 </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 > 0 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 36 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1966–67 </td><td colspan=1 rowspan=6 > Fourth Division </td><td colspan=1 rowspan=1 > 45 </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 > 52 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1967–68 </td><td colspan=1 rowspan=1 > 43 </td><td colspan=1 rowspan=1 > 5 </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 > 46 </td><td colspan=1 rowspan=1 > 5 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1968–69 </td><td colspan=1 rowspan=1 > 43 </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 > 5 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 49 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1969–70 </td><td colspan=1 rowspan=1 > 43 </td><td colspan=1 rowspan=1 > 4 </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 > 1 </td><td colspan=1 rowspan=1 > 48 </td><td colspan=1 rowspan=1 > 5 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1970–71 </td><td colspan=1 rowspan=1 > 45 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 5 </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 > 51 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1971–72 </td><td colspan=1 rowspan=1 > 37 </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 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 38 </td><td colspan=1 rowspan=1 > 2 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1972–73 </td><td colspan=1 rowspan=1 > Third Division </td><td colspan=1 rowspan=1 > 42 </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 > 45 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1973–74 </td><td colspan=1 rowspan=2 > Fourth Division </td><td colspan=1 rowspan=1 > 40 </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 > 42 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <td colspan=1 rowspan=1 > 1974–75 </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 > 1 </td><td colspan=1 rowspan=1 > 0 </td><td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 0 </td></tr>
<tr> <th colspan=3 rowspan=1 > Career total </th><th colspan=1 rowspan=1 > 471 </th><th colspan=1 rowspan=1 > 17 </th><th colspan=1 rowspan=1 > 28 </th><th colspan=1 rowspan=1 > 0 </th><th colspan=1 rowspan=1 > 19 </th><th colspan=1 rowspan=1 > 1 </th><th class="highlighted"  colspan=1 rowspan=1 > 516 </th><th colspan=1 rowspan=1 > 18 </th></tr>
</table>
Question:
How many appearances did Peter Gelson make for Brentford in all competitions?
Answer:
Peter Gelson made 516 appearances with Brentford in all competitions.