Hello Adrien,
If "Keep depth maps" option is on and depth maps are actually present in the project, you can count the number of cameras with the depth maps generated.
camera_list = list()
for camera in chunk.cameras:
if camera in chunk.depth_maps.keys():
camera_list.append(camera.label)