human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: No, City district (Stadtteil), Area in km², Population, Foreign nationals, Foreign nationals in %, Area district (Ortsbezirk)
###Question: What is the number of the city district of stadtteil where foreigners are 5.162?
gpt
SELECT COUNT City district (Stadtteil) FROM table WHERE Foreign nationals = 5.162