This is pretty tricky. The “duct” in the image is the white portion, not the orange-y portion. So the duct can be singular, but there is a branched gland->simple branched gland. Only when the duct is branched is a gland a “compound gland” (ie the white section has branches and the orange-y portion has branches).