CompositionLength( g )
Let G be the parent group of the ag word g. Then CompositionLength
returns the length of the AG series of G as integer.
Note that CompositionLength
allows records that mimic ag words as
arguments.
gap> CompositionLength( c ); 5
GAP 3.4.4