user: ### NOW ANSWER:
Question: What is the number of the city district of stadtteil where foreigners are 5.162?
Columns: ['No', 'City district (Stadtteil)', 'Area in km²', 'Population', 'Foreign nationals', 'Foreign nationals in %', 'Area district (Ortsbezirk)']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['0 1', 'Altstadt', '0,51 km²', '3.475', '1.122', '32,3%', '01 – Innenstadt 1']
SQL:

assistant: SELECT COUNT("City district (Stadtteil)") FROM "Table" WHERE "Foreign nationals" = '5.162';