Spain attracted a record 94 million tourists last year, making the Southern European nation among the most visited countries on Earth.