Question: How many storeys are in the castle inherited by David Gregory?
Sentence (from "David Gregory (physician)"): Three of his twenty-nine children became mathematics professors.
Relevant evidence: No