It looks unlikely MK spent more than 5 months living in Spain. I would have to check the diary but I think MK spent that period in New York recording Making Movies, and meeting who would be his second wife, Lourdes, who worked in the studio DS were recording.
If that story about living in a hotel in Spain is true, I guess MK spent some weeks as much...
Also MK just bought a house in Notting Hill early 1980, doesn't make sense he was living in a hotel in Spain for that long period when. He just bought a house, his first house, in London