What is the preferred way to get a count of checked out elements owned by the user? I tried:
ICollection<ElementId> checkoutelements = WorksharingUtils.CheckoutElements(doc, null);
int count = checkoutelements.Count;
But i cannot pass null on the CheckoutElements method. And I would prefer not to checkout a random element just to get a count.