Question: Thomas Aikenhead was a Scottish student from what a city that is the capital of Scotland, and is one of how many council areas?

Context articles: East Renfrewshire
Thomas Aikenhead
Renfrewshire
I Am Thomas
Midlothian
Moray
Perth and Kinross
List of Scottish council areas by population
Inverclyde
Edinburgh

East Renfrewshire (Scots: "Aest Renfrewshire" , Scottish Gaelic: "Siorrachd Rinn Friù an Ear" ) is one of 32 council areas of Scotland.
 Until 1975 it formed part of the county of Renfrewshire for local government purposes along with the modern council areas of Renfrewshire and Inverclyde.
 Although no longer a local authority area, Renfrewshire still remains the registration county and lieutenancy area of East Renfrewshire.
Thomas Aikenhead (  March 1676  – 8 January 1697) was a Scottish student from Edinburgh, who was prosecuted and executed at the age of 20 on a charge of blasphemy.
 He was the last person in Britain to be executed for blasphemy.
 This was 85 years after the death of Edward Wightman (1612), the last person to be burned at the stake for heresy in England.
Renfrewshire ( or ; Scottish Gaelic: "Siorrachd Rinn Friù" ) is one of 32 council areas of Scotland.
 Located in the west central Lowlands, it is one of three council areas contained within the boundaries of the historic county of Renfrewshire, the others being East Renfrewshire to the east and Inverclyde to the west.
 It also shares borders with Glasgow, North Ayrshire and West Dunbartonshire, and lies on The southern bank of The River Clyde.
 The term Renfrewshire may also be used to refer to this historic county, also known as the County of Renfrew or Greater Renfrewshire, which remains in use as a registration county and lieutenancy area.
I Am Thomas: A Brutal Comedy with Songs is a play based around the death of Thomas Aikenhead, the last person to be hanged for blasphemy in Britain.
 The play received its world premiere at the Liverpool Playhouse, in February 2016, before embarking on a short UK tour.
 It is a co-production between Told by an Idiot, the National Theatre of Scotland and the Royal Lyceum Theatre.
Midlothian ( ; Scots: "Midlowden" , Scottish Gaelic: "Meadhan Lodainn" ) is one of the 32 council areas of Scotland, UK.
 It borders Edinburgh, East Lothian and the Scottish Borders council areas.
Moray ( ; Scottish Gaelic: "Moireibh" or "Moireabh ", Latin: "Moravia" , Old Norse: "Mýræfi" ) is one of the 32 Local Government council areas of Scotland.
 It lies in the north-east of the country, with coastline on the Moray Firth, and borders the council areas of Aberdeenshire and Highland.
Perth and Kinross (Scots: "Pairth an Kinross" , Scottish Gaelic: "Peairt agus Ceann Rois" ) is one of the 32 council areas of Scotland and a Lieutenancy Area.
 It borders onto the Aberdeenshire, Angus, Argyll and Bute, Clackmannanshire, Dundee, Fife, Highland and Stirling council areas.
 Perth is the administrative centre.
 The council boundaries correspond broadly, but not exactly, with the former counties of Perthshire and Kinross-shire.
This is a list of council areas of Scotland ordered by population.
 The populations of these Scottish council areas are mid-year estimates for 2016 from the Office for National Statistics.
Inverclyde (Scottish Gaelic: "Inbhir Chluaidh" , ] , "mouth of the Clyde") is one of 32 council areas used for local government in Scotland.
 Together with the East Renfrewshire and Renfrewshire council areas, Inverclyde forms part of the historic county of Renfrewshire, which currently exists as a registration county and lieutenancy area - located in the west central Lowlands.
 It borders the North Ayrshire and Renfrewshire council areas, and is otherwise surrounded by the Firth of Clyde.
Edinburgh ( or ; Scottish Gaelic: "Dùn Èideann" ] ) is the capital city of Scotland and one of its 32 council areas.
 It is located in Lothian on the Firth of Forth's southern shore.