Instructions: 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'.
Input: Context: In 1008, after long negotiations with the Bishops of Wurzburg and Eichstatt, who were to cede portions of their dioceses, the boundaries of the new diocese were defined, and Pope John XVIII granted the papal confirmation in the same year. Link Information: Pope and ruler of the Papal states from January 1004 (25 December 1003 NS) to his abdication in June 1009. Question: How many years into the reign of Pope John XVIII were the the boundaries of the new diocese defined?
Output:
Answer: 4