How to calculate Time Spent per Agent?

How to calculate Time Spent per Agent?

Hello community!!
Any tips on how to have a column calculated with the total time spent by the agent?
The time spent is added to the Ticket/Activity Time Entries.
I was unable to create a column that would allow me to add up the hours spent and display them in a graph.
Thanks.