Did you know ... Search Documentation:
PL_get_compound_name_arity()