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: How many foreigners in percentage terms had a population of 4.911?
gpt
SELECT COUNT Foreign nationals in % FROM table WHERE Population = 4.911