The EventCounts interface of the Performance API provides the number of events that have been dispatched for each event type.
EventCounts
MDN Reference
Optional
The
EventCountsinterface of the Performance API provides the number of events that have been dispatched for each event type.MDN Reference