Is it correct when I ask someone, for example:
Q:How much time did you stay there?
A: I stayed there for a year.
how about:
Q:How long did you stay there?
A: I stayed there for a year.
Do native speakers use both questions? In the first question, is there any grammar mistake asking "how much time"?
If you changed "stay" to "spend" it would work.
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.