Add nb_events for plugin agenda