public function eventcountforcalendar(Calendar $calendar) { return $this->container->get('baikal.repository.event')->countAllByCalendar($calendar); }