Here is my JSON:
[ { \"id\": \"38\", \"article_id\": \"16\", \"news_event\": \"625\", \"language\": \"en\", \"cha
You can use the following solution to count JSON objects:
var jsonObject = {"test1":1,"test2":2}; var keyCount = Object.keys(jsonObject).length;