use array_length(accummulator) instead