Counting degree-constrained orientations | Synapse