Average Ticket - total time spent

Average Ticket - total time spent

Hi Team, 
There is an average option for ticket total time spent, I am a little confused how is the average caculated based on the number of time entries agents done or based on the total number of tickets?