powered by
The generic length() function has methods for orientations; it counts the number of orientations in the object.
length()
orientations