Count elements in Array

Hi, I searched everything and did not found this function.
Is possible to count how many elements exist in an array? (Column that contains an array of jsons)
For example, Presto has the “cardinality” function, I tried to use it in Dremio, but without success.

try array_length([array])