candidate: A study made by " Unión de comunidades islámicas de España " demonstrated that there were about 1,700,000 inhabitants of Muslim background living in Spain as of 2012 , accounting for 3-4 % of the total population of Spain .