code: public final Map<String, Long> getRelationshipInfo(final Direction dir) throws FrameworkException {
  		return StructrApp.getInstance(securityContext).command(NodeRelationshipStatisticsCommand.class).execute(this, dir);
  	}
docs: Return statistical information on all relationships of this node
  
  @param dir
  @return number of relationships