If you knew it was a dream it was lucid. It doesn't matter if you could control anything or how long it lasted if you knew you were dreaming.