Postgresql Json Array Length Jquery Validation For Number