human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Country, Rank, Aid, Trade, Investment, Migration, Environment, Security, Technology, Overall (Average)
###Question: How many times is denmark ranked in technology?
gpt
SELECT COUNT Technology FROM table WHERE Rank = Denmark