Task: Calculate JSONB Array Length Using PostgreSQL
Task: Calculate JSONB Array Length Using PostgreSQL: a task in Terminal-Lego-15k (Harbor dataset). Write a SQL script that correctly calculates the length of JSONB arrays in PostgreSQL. You must demonstrate understanding of the difference between json and jsonb function variants in PostgreSQL.
Part of PrimeIntellect/Terminal-Lego-15k.