Show 'Total' after the end of each type of records : <p>I have a table which contains two columns, ie. 
1. ClassName
2. Student Name</p>

<p><a href="https://i.stack.imgur.com/Ewdt2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ewdt2.png" alt="enter image description here"></a></p>
