Hello, I have a arcpro project and inside the projects, i have 2 maps and and each map 3 layers. I want to print the number of maps and and number of layers within each maps. i have this so far and i am getting errors. any tips ?
import arcpy
aprx_path = "C:/.colorado.aprx"
aprx = arcpy.mp.ArcGISProject(aprx_path)
maps = aprx.listMaps()
for m in maps:
print(m.count)