jQuery: Como contar colunas da tabela?

Usando o jQuery, como você descobriria quantas colunas estão em uma tabel

<script>
    alert($('table').columnCount());
</script>

<table>
    <tr>
        <td>spans one column</td>
        <td colspan="2">spans two columns</td>
        <td colspan="3">spans three columns</td>
    <tr>
</table>

O número total de colunas neste exemplo é 6. Como posso determinar isso usando o jQuer

questionAnswers(15)

yourAnswerToTheQuestion