Hello everyone!

First, apology for my bad English and i'm newbie in PHP environment

Ok, my question is, how can i calculate the number of selected radio button in my form? Most of the solution is on how to calculate the value from the checkbox, but in my case, i need to calculate the total number of selected radio button. Here the code for my form:

HTML Code:
<form id="form1" name="form1" method="post" action="">
  <table width="1100px" border="1">
    <tr><!--Question 1-->
    <td>Question 1</td>
      <td><label><input type="radio" name="q1" value="0" id="q1" />0</label></td>
      <td><label><input type="radio" name="q1" value="1" id="q1" />1</label></td>
      <td><label><input type="radio" name="q1" value="2" id="q1" />2</label></td>
      <td><label><input type="radio" name="q1" value="3" id="q1" />3</label></td>
    <tr><!--Question 2-->
    <td>Question 2</td>
      <td><label><input type="radio" name="q2" value="0" id="q2" />0</label></td>
      <td><label><input type="radio" name="q2" value="1" id="q2" />1</label></td>
      <td><label><input type="radio" name="q2" value="2" id="q2" />2</label></td>
      <td><label><input type="radio" name="q2" value="3" id="q2" />3</label></td>
	<tr><!--Question 3-->
    <td>Question 3</td>
      <td><label><input type="radio" name="q3" value="0" id="q3" />0</label></td>
      <td><label><input type="radio" name="q3" value="1" id="q3" />1</label></td>
      <td><label><input type="radio" name="q3" value="2" id="q3" />2</label></td>
      <td><label><input type="radio" name="q3" value="3" id="q3" />3</label></td>
	<tr><!--Question 4-->
    <td>Question 4</td>
      <td><label><input type="radio" name="q4" value="0" id="q4" />0</label></td>
      <td><label><input type="radio" name="q4" value="1" id="q4" />1</label></td>
      <td><label><input type="radio" name="q4" value="2" id="q4" />2</label></td>
      <td><label><input type="radio" name="q4" value="3" id="q4" />3</label></td>
	<tr><!--Question 5-->
    <td>Question 5</td>
      <td><label><input type="radio" name="q5" value="0" id="q5" />0</label></td>
      <td><label><input type="radio" name="q5" value="1" id="q5" />1</label></td>
      <td><label><input type="radio" name="q5" value="2" id="q5" />2</label></td>
      <td><label><input type="radio" name="q5" value="3" id="q5" />3</label></td>
<input name="Calculate" type="button" value="Calculate" />
and here the output:

How do i calculate the total number of selected radio button for column A, column B, column C and column D. If anybody found any tutorial links to share are also most welcome. Thank you very much and really appreciate!