This Laravel Nova package is used for calculating the total of every column that supports every function you need.
Note: May this package don't work with nova 4
This package contains two Nova fields required to do server-side calculations from the Nova client. The user can optionally override the calculated value on the form.