Check Length of JSON object added