removed class_count from inventory.json and created a new file class_count.json and also added the class_count to resources.json