Postgresql Json Array Get Length