This vast complex of 22 subtemples and affiliated monasteries ( down from about 60 during the Edo period ) was built , burned down , and rebuilt between the 14th and 17th centuries .
There were more subtemples and monasteries in the Edo period than there ar today .