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:
Perth and North Perthshire (UK Parliament constituency)
Table title:
Elections in the 2010s
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=2 rowspan=1 > Party </th><th colspan=1 rowspan=1 > Candidate </th><th colspan=1 rowspan=1 > Votes </th><th colspan=1 rowspan=1 > % </th><th colspan=1 rowspan=1 > ± </th></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > SNP </td><td class="highlighted"  colspan=1 rowspan=1 > Pete Wishart </td><td colspan=1 rowspan=1 > 27,379 </td><td colspan=1 rowspan=1 > 50.5 </td><td colspan=1 rowspan=1 > +10.9 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Conservative </td><td colspan=1 rowspan=1 > Alexander Stewart </td><td colspan=1 rowspan=1 > 17,738 </td><td colspan=1 rowspan=1 > 32.7 </td><td colspan=1 rowspan=1 > +2.2 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Labour </td><td colspan=1 rowspan=1 > Scott Nicholson </td><td colspan=1 rowspan=1 > 4,413 </td><td colspan=1 rowspan=1 > 8.1 </td><td colspan=1 rowspan=1 > 8.3 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Liberal Democrats </td><td colspan=1 rowspan=1 > Peter Barrett </td><td colspan=1 rowspan=1 > 2,059 </td><td colspan=1 rowspan=1 > 3.8 </td><td colspan=1 rowspan=1 > 8.5 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Scottish Green </td><td colspan=1 rowspan=1 > Louise Ramsay </td><td colspan=1 rowspan=1 > 1,146 </td><td colspan=1 rowspan=1 > 2.1 </td><td colspan=1 rowspan=1 > n/a </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > UKIP </td><td colspan=1 rowspan=1 > John Myles </td><td colspan=1 rowspan=1 > 1,110 </td><td colspan=1 rowspan=1 > 2.0 </td><td colspan=1 rowspan=1 > n/a </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Independent </td><td colspan=1 rowspan=1 > Xander McDade </td><td colspan=1 rowspan=1 > 355 </td><td colspan=1 rowspan=1 > 0.7 </td><td colspan=1 rowspan=1 > n/a </td></tr>
<tr> <th colspan=3 rowspan=1 > Majority </th><td class="highlighted"  colspan=1 rowspan=1 > 9,641 </td><td colspan=1 rowspan=1 > 17.8 </td><td colspan=1 rowspan=1 > +8.7 </td></tr>
<tr> <th colspan=3 rowspan=1 > Turnout </th><td colspan=1 rowspan=1 > 54,200 </td><td colspan=1 rowspan=1 > 74.8 </td><td colspan=1 rowspan=1 > +7.9 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=2 rowspan=1 > SNP hold </td><th colspan=1 rowspan=1 > Swing </th><td colspan=1 rowspan=1 > +4.3 </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
How many votes did Pete Wishart win in Perth and North Perthshire?
Answer:
Wishart won a majority of 9,641 votes in Perth and North Perthshire.