Postgresql Json Array Length Sql