Question: How many storeys are in the castle inherited by David Gregory?

Context paragraphs:
1600 Pennsylvania Avenue (TV series): 1600 Pennsylvania Avenue is an MSNBC television program hosted by David Shuster that ended in 2009.  The show is a panel discussion of news and trends in American politics among the panelists and anchor.  It is a continuation of the show Race for the White House, which was originally hosted by David Gregory and aired in the same time slot from March to November 2008.  Shuster became the host of the show when Gregory became moderator of NBC's "Meet the Press".

David Smith (racewalker): David Gregory "Dave" Smith (born 24 July 1955) is a retired male race walker from Australia, who represented his native country at two consecutive Summer Olympics, starting in 1980 (Moscow).  His best Olympic result was finishing in tenth place in the men's 20 km race at the 1984 Summer Olympics.

Dave Cressman: David Gregory Cressman (born January 2, 1950 in Kitchener, Ontario) is a retired Canadian ice hockey left winger.  He played 85 games in the NHL for the Minnesota North Stars over the 1974–75 and 1975–76 NHL seasons.

David Gregory (physician): David Gregory (20 December 1625 – 1720) was a Scottish physician and inventor.  His surname is sometimes spelt as Gregorie, the original Scottish spelling.  He inherited Kinnairdy Castle in 1664.  Three of his twenty-nine children became mathematics professors.  He is credited with inventing a military cannon that Isaac Newton described as "being destructive to the human species".  Copies and details of the model no longer exist.  Gregory's use of a barometer to predict farming-related weather conditions led him to be accused of witchcraft by Presbyterian ministers from Aberdeen, although he was never convicted.

Newton's minimal resistance problem: Newton's minimal resistance problem is a problem of finding a solid of revolution which experiences a minimum resistance when it moves through the homogeneous fluid with constant velocity in the direction of the axis of revolution, named after Isaac Newton, who studied the problem in 1685 and published in 1687 in his Principia Mathematica.  This problem is considered as one of the first problems solved in the calculus of variations, which appeared even before the brachistochrone problem.  Newton published the solution in Principia Mathematica without his derivation and David Gregory was the first person who approached Newton and persuaded him to write an analysis for him.  Then the derivation were shared to his students and peers by Gregory.

David Gregory-Kumar: David Gregory-Kumar (born David Gregory) is a news correspondent for BBC Midlands Today, covering the English midlands.  He is the science and environmental correspondent.

David Phillips (CSI): David Gregory Phillips is a fictional character on the CBS crime drama "", portrayed by David Berman, who also serves as head researcher for the series.  From Season 10 onwards David Berman has been credited in the opening titles.

David Gregory (author): David Gregory is an American author of Christian fiction.  David is a native of Texas.

Kinnairdy Castle: Kinnairdy Castle is a tower house, having five storeys and a garret, two miles south of Aberchirder, Aberdeenshire, Scotland.  The alternative name is Old Kinnairdy.

Plague Town: Plague Town is a 2008 American horror film directed by David Gregory and written by David Gregory and John Cregan.

Supporting paragraphs: David Gregory (physician) Kinnairdy Castle
Answer: five