In the JSON I have different sucursales(locations) each with different autos(cars). How can I get the total number of cars for all the locations in just one function?