The DayPilot.Calendar.events.totalDuration() method returns the total duration of all events in a Calendar column.
DayPilot.Column.events.totalDuration()
DayPilot.Duration object
const total = dp.columns.find(DayPilot.Date.today(), "A").events.totalDuration();