2:. The first is wrong, the third is right, and the second is possible, in contexts like this:
I spent a while in Coimbra in 1973.
Oh yes, how much time did you spend there?
[that is, you know someone has 'spent time there', and you want to find out how much.]
(The details are irrelevant; they just have a certain autobiographical ring to them! )
Student or Learner