I have a dataframe with the following schema:
root |-- id: string (nullable = true) |-- collect_list(typeCounts): array (nullable = true) | |-- element: