Is it possible to use the field_value_factor with array length

Hi all,

I'm trying to define a field value factor based on the size of an array but it seems that it is not possible do you have any other idea of design to do this in script calculation ?

Regards,