/**
  * Count unread notifications for the given user
  *
  * @param UserInterface $user
  *
  * @return int
  */
 public function countUnreadForUser(UserInterface $user)
 {
     return $this->repository->countUnreadForUser($user);
 }