How to count name in JSON object

Thank you so much! It worked.