Python Count Repeated Elements In Array In Json What Is Held