I know it's possible to create uniqueness constraints on node labels, relationship properties, etc. However, there does not seem to be a way to enforce a uniqueness constraint on a number or relationships. I've seen some work arounds mentioned on Stack Overflow but nothing from the official documentation.
Has anyone found a proper way to restrict the number of relationships a node can have?