5.2.4.1.9 Number of Name Components

The num_components operation returns the number of components in a library name.

unsigned long num_components();