The next ruler was K'ak' Yipyaj Chan K'awiil, a son of K'ak' Joplaj Chan K'awiil. The early period of his rulership fell within Copán's hiatus, but later on he began a programme of renewal in an effort to recover from the city's earlier disaster. He built a new version of Temple 26, with the Hieroglyphic Stairway being reinstalled on the new stairway and doubled in length. Five life-size statues of seated rulers were installed seated upon the stairway. K'ak' Yipyaj Chan K'awiil died in the early 760s and is likely to have been interred in Temple 11, although the tomb has not yet been excavated.Yax Pasaj Chan Yopaat was the next ruler, 16th in the dynasty founded by K'inich Yax K'uk' Mo', although he appears not to have been a direct descendent of his predecessor. He took the throne in June 763 and may have been only 9 years old. He produced no monumental stelae and instead dedicated hieroglyphic texts incorporated into the city's architecture and smaller altars. Texts make an obscure reference to his father but his mother was a noblewoman from distant Palenque in Mexico. He built the platform of Temple 11 over the tomb of the previous king in AD 769 and added a two-storey superstructure that was finished in AD 773. Around AD 776, he completed the final version of Temple 16 over the tomb of the founder. At the base of the temple, he placed the famous Altar Q, which shows each of the 16 rulers of the city from K'inich Yax K'uk' Mo' through to Yax Pasaj Chan Yopaat, with a hieroglyphic text on top describing the founding of the dynasty. By the latter 8th century, the nobility had become more powerful, raising palaces with hieroglyphic benches that were as richly constructed as those of the king. At the same time, local satellites were displaying their own local power, as demonstrated by the ruler of Los Higos erecting his own stela in AD 781. Towards the end of Yax Pasaj Chan Yopaat's reign, the city of Copán was struggling with overpopulation and a lack of local resources, with a distinct fall in living standards among the populace. Yax Pasaj Chan Yopaat was able to celebrate his second K'atun in AD 802 with his own monument, but the king's participation in the K'atun ending ceremony of AD 810 was marked at Quiriguá, not at Copán. By this time the city's population was over 20,000 and it had long needed to import basic necessities from outside.The troubled times enveloping Copán at this time are evident from the funerary tomb of Yax Pasaj Chan Yopaat, which bears sculptures of the king performing war dances with spear and shield in hand. The sculpted column from the temple shrine has a hieroglyphic text reading "toppling of the Foundation House" that may refer to the fall of the Copán dynasty. Shortage and disease afflicted the massively overpopulated valley of Copán when its last known king, Ukit Took', came to the throne on 6 February 822. He commissioned Altar L in the style of Altar Q but the monument was never finished — one face shows the enthronement of the king and a second face was started but two others were completely blank. The long line of kings at the once great city had come to an end. Before the end, even the nobility had been struck by disease, perhaps because epidemics among the malnourished masses spread to the elite. With the end of political authority at the city the population collapsed to a fraction of what it had been at its height. This collapse of the city-state, which people believe occurred sometime between 800 and 830 AD, was sudden. However, the population continued to persist and even flourish between the years 750 and 900 AD, and then gradually declined soon thereafter.  In the Postclassic period the valley was occupied by villagers who stole the stone from the monumental architecture of the city in order to build their simple house platforms.

Question: How many rulers was showes when he placed the Altar Q at the base of the temple?
Answer: 16