Added the crawler code to get the count of json files