There are a couple of individuals named 'John Kane' recorded in the 1831 Derry census as living in the parish of Aghanloo, in the barony of Keenaght, county Londonderry:
John Kane, in the townland of Ballycastle, Aghanloo, Keenaght, Co. Londonderry
John Kane, in the townland of Grannagh, Aghanloo, Keenaght, Co. Londonderry {a 'James Kane' was living in the same townland, next door to John, and may have been a relation}
I got this information from Bill MacAfee's transcription of the 1831 Derry census. The link to this website is
http://www.billmacafee.com/index.htm The original census would tell you the number of the people within each household {including servants, if they had any}, their gender, and their religion. However, only the head of household's name is recorded.
Incidentally, a 'Thomas Kane', son of John Kane and Sarah McLoughlin, is recorded as being baptised in Magilligan R.C., in Tamlaghtard parish, in 1835. Roman Catholics in Aghanloo would have worshiped at Magilligan parish church; Magilligan is located just to the north of Aghanloo.