<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
<tbody>
<tr>
<td>UKR</td>
<td name="01" id="01_01">
0</td>
<td name="01" id="01_02">
1</td>
<td name="01" id="01_03">
2</td>
<td name="01" id="01_04">
3</td>
<td name="01" id="01_05">
</td>
<td name="01" id="01_06">
</td>
<td name="01" id="01_07">
</td>
<td name="01" id="01_08">
</td>
<td name="01" id="01_09">
</td>
<td name="01" id="01_10">
</td>
<td name="01" id="01_11">
</td>
<td name="01" id="01_12">
</td>
<td id="S1">
</td>
</tr>
</tbody>
</table>
<script>
document.querySelector('#S1').textContent = [].reduce.call(document.querySelectorAll('td[name="01"]'),(sum, cur)=>sum+cur.textContent*1,0);
</script>
</body>
</html>