Teacher:In this task, you're given a statement, further information available on a particular linked term from the statement, and a question. Your job is to generate the answer to the question by using the information provided. If there is no clear answer obtainable, output 'none'.
Teacher: Now, understand the problem? Solve this instance: Context: The Bagration family's genealogy traces back at least to the medieval era in its male line and hundreds of years further back as rulers in the female line. Link Information: .

In spite of repeated incidents of dynastic strife, the kingdom continued to prosper during the reigns of Demetrios I (11251156), George III (11561184), and especially, his daughter Tamar the Great (11841213). Question: How many rulers did the Bagration's have in total?
Student:
Answer: 6