Relationship count


The count of the related objects.



Output: int
  Retrieves the amount of related objects.
Parameters: ?objtype - Only returns related objects of a certain object type.
  ?direction - Only returns related objects with the specified direction of relationship. from considers only the relationships specified on the current object. to considers only the relationships originating from the related objects. ‘both’ is the default behaviour which considers both directions.