Postgres Split Json Array Length Python