How to add the sum of a column at the bottom of a form in Editable grid format

Hello. I need to be able to sum up the counts from one column in my Editable grid form underneath the final record row which would display the sum.

It would be equivalent to doing this:

image

Would anyone know how to do this?