County number of items in Firebase Double List

Actions & Logic

I'm trying to be able to count the number of items in a firebase double list and then save those numbers as an integer list in firebase. For instance if there are a total of 4 items in the double list object of a record, it would create a integer list with 4 items whose values are 1,2,3,4. I have a custom action for this but every time I try to save it says "unable to process parameter inputDoubleList" See screenshot

What have you tried so far?

everything

Did you check FlutterFlow's Documentation for this topic?
No